Part Number Hot Search : 
TLYF1060 EG1410 BY9416 4035B 27C512 SM290A TLYF1060 HER25
Product Description
Full Text Search
 

To Download HCD66727A03BP Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 hd66727 (low-power dot-matrix liquid crystal display controller/driver with key scan function) description the hd66727, dot-matrix liquid crystal display controller and driver lsi incorporating a key scan function, displays alphanumerics, katakana, hiragana, and symbols. it can be configured to drive a dot- matrix liquid crystal display and control key scan functions under the control of an i 2 c bus or a clock- synchronized serial microprocessor. a single hd66727 is capable of displaying up to four 12-character lines, 40 segments, and 12 annunciators, and controlling up to a 4-by-8 key matrix, and driving three led. the hd66727 incorporates all the functions required for driving a dot-matrix liquid crystal display such as display ram, character generator, and liquid crystal drivers, and it also incorporates a booster for the lcd power supply and key scan functions. the hd66727 provides various functions to reduce the power consumption of an lcd system such as low- voltage operation of 2.4v or less, a booster for generating a maximum of triple lcd drive voltage from the supplied voltage, and voltage-followers for decreasing the direct current flow in the lcd drive bleeder- resistors. combining these hardware functions with software functions such as standby and sleep modes allows a fine power control. the hd66727, with the above functions, is suitable for any portable battery- driven product requiring long-term driving capabilities and small size. features control and drive of a dot-matrix lcd with built-in key scan functions four 12-character lines, 40 segments, and 12 annunciators control of up to a 4 8-key matrix, 3 led ports and 3 general ports low-power operation support: ? 2.4 to 5.5v (low voltage) ? double or triple booster for liquid crystal drive voltage ? contrast adjuster and voltage followers for decreasing the direct current flow in the lcd drive bleeder-resistors ? standby mode and sleep mode ? displays up to 12 static annunciators i 2 c bus or clock-synchronized serial interface 60 8-bit display data ram (60 characters max)
hd66727 2 11,520-bit character generator rom ? 240 characters (6 8 dots) 32 6-bit character generator ram ? 4 characters (6 8 dots) 8 6-bit segment ram ? 40 segment-icons and marks max 60-segment 34-common liquid crystal display driver programmable display sizes and duty ratios (see table 1) vertical smooth scroll vertical double-height display of all character fonts horizontal double display with dedicated character fonts (6-dot font width used) wide range of instruction functions: ? clear display, display on/off control, icon and mark control, character blink, white-black inverting blinking cursor, icon and mark blink, return home, cursor on/off, white-black inverting raster-row internal oscillation with an external resistor hardware reset wide range of lcd drive voltages ? 3.0v to 13.0v slim chip with bumps for chip-on-glass (cog) mounting, slim chip without bumps for chip-on-board (cob) mounting, and tape carrier package (tcp) (under development) table 1 programmable display sizes and duty ratios display size duty ratio oscillation frequency current consumption multi- plexed- drive segments static- drive annu- nciators scanned keys led drive general port 1 line 12 characters 1/10 40 khz 8 m a 40 12 32 (4 8) 3 3 2 lines 12 characters 1/18 80 khz 15 m a 40 12 32 (4 8) 3 3 3 lines 12 characters 1/26 120 khz 23 m a 40 12 32 (4 8) 3 3 4 lines 12 characters 1/34 160 khz 30 m a 40 12 32 (4 8) 3 3 note: current consumption excludes that for lcd power supply source; v cc = 3v.
hd66727 3 type name type name external dimension operation voltage internal font hd66727a03ta0l tcp 2.4v to 5.5v japanese and european fonts hcd66727a03 bare chip HCD66727A03BP au-bumped chip hd66727a04ta0l tcp 2.4v to 5.5v phs & pager fonts hcd66727a04 bare chip hcd66727a04bp au-bumped chip
hd66727 4 lcd-ii family comparison item lcd-ii (hd44780u) hd66702r hd66710 hd66712u power supply voltage 2.7v to 5.5v 5v 10% (standard) 2.7 v to 5.5v (low voltage) 2.7v to 5.5v 2.7v to 5.5v liquid crystal drive voltage 3.0 to 11.0v 3.0v to 8.3v 3.0 to 13.0v 2.7 to 11.0v maximum display - characters per chip 8 characters 2 lines 20 characters 2 lines 16 characters 2 lines/ 8 characters 4 lines 24 characters 2 lines/ 12 characters 4 lines segment display none none 40 60 (extended to 80) display duty ratio 1/8, 1/11, and 1/16 1/8, 1/11, and 1/16 1/17 and 1/33 1/17 and 1/33 cgrom 9,920 bits (208 5- -8 dot characters and 32 5- -10 dot characters) 7,200 bits (160 5- -7 dot characters and 32 5- -10 dot characters) 9,600 bits (240 5- -8 dot characters) 9,600 bits (240 5- -8 dot characters) cgram 64 bytes 64 bytes 64 bytes 64 bytes ddram 80 bytes 80 bytes 80 bytes 80 bytes segram none none 8 bytes 16 bytes segment signals 40 100 40 60 common signals 16 16 33 34 liquid crystal drive waveform ab b b clock source external resistor or external clock external resistor or external clock external resistor or external clock external resistor or external clock rf oscillation frequency 270 khz 30% 320 khz 30% 270 khz 30% 270 khz 30% liquid crystal voltage booster circuit none none double or triple booster circuit double or triple booster circuit liquid crystal drive operational amplifier none none none none bleeder-resistor for liquid crystal drive external external external external liquid crystal contrast adjuster none none none none key scan circuit none none none none extension driver control signal independent control signal independent control signal used in common with a driver output pin independent control signal reset function internal reset circuit internal reset circuit internal reset circuit internal reset circuit or reset input horizontal smooth scroll impossible impossible dot unit dot unit and line unit vertical smooth scroll impossible impossible impossible impossible number of displayed lines 1 or 2 1 or 2 1, 2, or 4 1, 2, or 4 low power control none none low power mode low power mode bus interface 4 or 8 bits 4 or 8 bits 4 or 8 bits serial, 4, or 8 bits package 80-pin qfp1420 80-pin tqfp1414 80-pin bare chip 144-pin fqfp2020 144-pin bare chip 100-pin qfp1420 100-pin tqfp1414 100-pin bare chip 128-pin tcp 128-pin bare chip
hd66727 5 lcd-ii family comparison (cont) item hd66720 hd66717 hd66727 power supply voltage 2.7v to 5.5v 2.4v to 5.5v 2.4v to 5.5v liquid crystal drive voltage 3.0 to 11.0v 3.0 to 13.0v 3.0 to 13.0v maximum display characters per chip 10 characters 1 line/ 8 characters 2 lines 12 characters 1 line/2 lines/3 lines/4 lines 12 characters 1 line/2 lines/3 lines/4 lines segment display 42 (extended to 80) 40 (and 10 annunciators) 40 (and 12 annunciators) display duty ratio 1/9 and 1/17 1/10, 1/18, 1/26, and 1/34 1/10, 1/18, 1/26, and 1/34 cgrom 9,600 bits (240 5- -8 dot characters) 9,600 bits (240 5- -8 dot characters) 11,520 bits (240 6- -8 dot characters) cgram 64 bytes 32 bytes 32 bytes ddram 40 bytes 60 bytes 60 bytes segram 16 bytes 8 bytes 8 bytes segment signals 42 60 60 common signals 17 34 34 liquid crystal drive waveform bb b clock source external resistor or external clock external resistor or external clock external resistor or external clock rf oscillation frequency 160 khz 30% 1-line mode: 40 khz 30% 2-line mode: 80 khz 30% 3-line mode: 120 khz 30% 4-line mode: 160 khz 30% 1-line mode: 40 khz 30% 2-line mode: 80 khz 30% 3-line mode: 120 khz 30% 4-line mode: 160 khz 30% liquid crystal voltage booster circuit double or triple booster circuit double or triple booster circuit double or triple booster circuit liquid crystal drive operational amplifier none built-in for each v1 to v5 built-in for each v1 to v5 bleeder-resistor for liquid crystal drive external internal 1/4 and 1/6 bias resistors internal 1/4 and 1/6 bias resistors liquid crystal contrast adjuster none incorporated incorporated key scan circuit 5 6 = 30 keys none 4 8 = 32 keys extension driver control signal independent control signal none none reset function internal reset circuit or reset input reset input reset input horizontal smooth scroll dot unit and line unit impossible impossible vertical smooth scroll impossible dot (raster-row) unit dot (raster-row) unit number of displayed lines 1 or 2 1, 2, 3, or 4 1, 2, 3, or 4 low power control low power mode and sleep mode standby mode and sleep mode standby mode and sleep mode bus interface serial i 2 c, serial, 4, or 8 bits i 2 c or clock-synchronized serial package 100-pin qfp1420 100-pin tqfp1414 100-pin bare chip slim chip with/without bumps tcp slim chip with/without bumps tcp
hd66727 6 hd66727 block diagram serial interface ?i2c bus ?clock synchro- nized serial data register (dr) busy flag (bf) instruction register (i r) address counter (ac) timing generator display data ram (ddram) 60 x 8 bits character generator ram (cgram) 32 bytes character generator rom (cgrom) 11,520 bits parallel/serial converter 60-bit latch circuit 60-bit segment shift register segment driver lcd drive voltage selector cursor and blink controller cpg instruction decoder id1/cs* sda scl v cc gnd com1/32 com32/1 seg1/60 seg60/1 osc1 osc2 8 8 6 6 8 7 7 8 8 6 6 vci double/triple booser c1 6 3 segmemt ram (sgram) 8 bytes im reset* c2 + v2 + v3 + + v5out2 v5out3 annunciator driver aseg1 aseg12 acom + v ee coms1/2 exm rr2rrr vr test v1out v2out v3out v4out v5out opoff vref vrefp vrefm agnd id0 key scan timing controller key scan registers (scan0?can7) kin0 kin3 kst0 kst7 4 common driver 34-bit bidirectional common shift register led output port led0 led2 port0 port2
hd66727 7 hd66727 pad coordinates no. pad name xy no. pad name xy no. pad name xy no. pad name xy dum1 ?446 ?244 46 kin1 1737 ?173 88 aseg3 4212 1191 136 seg39/22 ?905 1196 1v cc ?146 ?244 47 kin2 1904 ?173 89 aseg4 4088 1191 137 seg40/21 ?029 1196 2v cc ?022 ?244 48 kin3 2071 ?173 90 aseg5 3963 1191 138 seg41/20 ?153 1196 3v cc ?898 ?244 49 kst0 2261 ?173 91 aseg6 3839 1191 139 seg42/19 ?278 1196 dum2 ?648 ?244 50 kst1 2421 ?173 92 aseg7 3714 1191 140 seg43/18 ?402 1196 dum3 ?524 ?244 51 kst2 2581 ?173 93 aseg8 3590 1191 141 seg44/17 ?527 1196 4 v1out ?336 ?169 52 kst3 2740 ?173 94 aseg9 3465 1191 142 seg45/16 ?651 1196 5 v2out ?216 ?169 53 kst4 2900 ?173 95 aseg10 3341 1191 143 seg46/15 ?776 1196 6 v3out ?095 ?169 54 kst5 3060 1173 96 aseg11 3217 1191 144 seg47/14 ?900 1196 7 v4out ?975 ?169 55 kst6 3220 ?173 97 aseg12 3092 1191 145 seg48/13 ?024 1196 8 v5out ?855 ?169 56 kst7 3380 ?173 98 seg1/60 2824 1196 146 seg49/12 ?149 1196 9 vrefp ?734 ?169 57 irq* 3539 ?173 99 seg2/59 2700 1196 147 seg50/11 ?273 1196 10 vref ?614 ?169 58 led0 3716 ?173 100 seg3/58 2575 1196 148 seg51/10 ?398 1196 11 vrefm ?494 ?169 59 led1 3876 ?173 101 seg4/57 2451 1196 149 seg52/9 ?522 1196 12 v2 ?373 ?169 60 led2 4036 ?173 102 seg5/56 2326 1196 150 seg53/8 ?647 1196 13 v3 ?253 ?169 61 port0 4228 ?173 103 seg6/55 2202 1196 151 seg54/7 ?771 1196 14 v ee ?106 ?168 62 port1 4403 ?173 104 seg7/54 2078 1196 152 seg55/6 ?896 1196 15 v ee 2985 ?168 63 port2 4578 ?173 105 seg8/53 1953 1196 153 seg56/5 ?020 1196 16 v5out3 ?829 ?168 64 gnd 4735 ?201 106 seg9/52 1829 1196 154 seg57/4 ?144 1196 17 v5out3 ?708 ?168 65 gnd 4855 ?201 107 seg10/51 1704 1196 155 seg58/3 ?269 1196 18 v5out2 ?528 ?168 66 gnd 5054 ?201 108 seg11/50 1580 1196 156 seg59/2 ?393 1196 19 v5out2 ?407 ?168 67 agnd 5263 ?201 109 seg12/49 1455 1196 157 seg60/1 ?518 1196 20 c1 ?216 ?168 dum4 5446 ?201 110 seg13/48 1331 1196 dum10 ?773 1260 21 c1 ?095 ?168 68 com16/17 5446 ?020 111 seg14/47 1206 1196 dum11 ?898 1260 22 c1 ?975 ?168 69 com15/18 5446 ?96 112 seg15/46 1082 1196 dum12 ?022 1260 23 c2 ?822 ?168 70 com14/19 5446 ?72 113 seg16/45 958 1196 dum13 ?146 1260 24 c2 ?701 ?168 71 com13/20 5446 ?47 114 seg17/44 833 1196 dum14 ?446 1260 25 c2 ?580 ?168 72 com12/21 5446 ?23 115 seg18/43 709 1196 158 com17/16 ?446 970 26 vci ?389 ?168 73 com11/22 5446 ?98 116 seg19/42 584 1196 159 com18/15 ?446 845 27 vci ?268 ?168 74 com10/23 5446 ?74 117 seg20/41 460 1196 160 com19/14 ?446 721 28 gnd ?083 ?168 75 com9/24 5446 ?49 118 seg21/40 335 1196 161 com20/13 ?446 596 29 gnd ?62 ?168 76 com8/25 5446 ?5 119 seg22/39 211 1196 162 com21/12 ?446 472 30 v cc ?92 ?168 77 com7/26 5446 100 120 seg23/38 87 1196 163 com22/11 ?446 348 31 v cc ?72 ?168 78 com6/27 5446 224 121 seg24/37 ?8 1196 164 com23/10 ?446 223 32 osc2 ?59 ?173 79 com5/28 5446 348 122 seg25/36 ?62 1196 165 com24/9 ?446 99 33 osc1 ?15 ?173 80 com4/29 5446 473 123 seg26/35 ?87 1196 166 com25/8 ?446 ?6 34 exm ?48 ?173 81 com3/30 5446 597 124 seg27/34 ?11 1196 167 com26/7 ?446 ?50 35 opoff 19 ?173 82 com2/31 5446 722 125 seg28/33 ?36 1196 168 com27/6 ?446 ?75 36 test 185 ?173 83 com1/32 5446 846 126 seg29/32 ?60 1196 169 com28/5 ?446 ?99 37 reset* 352 ?173 84 coms2/s1 5446 971 127 seg30/31 ?85 1196 170 com29/4 ?446 ?24 38 im 519 ?173 dum5 5446 1246 128 seg31/30 ?09 1196 171 com30/3 ?446 ?48 39 vccdum1 666 ?173 dum6 5194 1246 129 seg32/29 ?033 1196 172 com31/2 ?446 ?72 40 id0 789 ?173 dum7 5070 1246 130 seg33/28 ?158 1196 173 com32/1 ?446 ?97 41 vccdum2 937 ?173 dum8 4945 1246 131 seg34/27 ?282 1196 174 coms1/s2 ?446 ?021 42 id1 1059 ?173 dum9 4821 1246 132 seg35/26 ?407 1196 43 scl 1226 ?173 85 acom1 4585 1191 133 seg36/25 ?531 1196 44 sda 1392 ?173 86 aseg1 4461 1191 134 seg37/24 ?656 1196 45 kin0 1571 ?173 87 aseg2 4337 1191 135 seg38/23 ?780 1196
hd66727 8 hd66727 pad arrangement hd66727 seg16/45 seg15/46 seg14/47 seg13/48 seg12/49 seg11/50 seg10/51 seg9/52 seg8/53 seg7/54 seg6/55 seg5/56 seg4/57 seg3/58 seg2/59 seg26/35 seg25/36 seg24/37 seg23/38 seg22/39 seg21/40 seg20/41 seg19/42 seg18/43 seg36/25 seg35/26 seg34/27 seg33/28 seg32/29 seg31/30 seg30/31 seg29/32 seg28/33 seg27/34 seg42/19 seg41/20 seg40/21 seg39/22 seg38/23 seg37/24 seg43/18 seg17/44 seg1/60 com1/32 coms2/s1 com2/31 com3/30 com4/29 com5/28 com6/27 com7/26 com8/25 com9/24 com10/23 com11/22 com12/21 com13/20 com14/17 com15/18 com16/17 seg44/17 seg45/16 seg46/15 seg47/14 seg48/13 seg49/12 seg50/11 seg51/10 seg52/9 seg53/8 seg54/7 seg55/6 seg56/5 seg57/4 seg58/3 seg59/2 seg60/1 coms1/s2 com32/1 com31/2 com30/3 com29/4 com28/5 com27/6 com25/8 com24/9 com23/10 com22/11 com21/12 com20/13 com19/14 com18/15 com17/16 aseg10 aseg9 aseg8 aseg7 aseg6 aseg5 aseg4 aseg3 aseg2 aseg1 acom1 osc2 osc1 reset* test id1/cs* sda scl irq* vci c2 c1 v5out2 v5out3 v3 v2 exm v ee com26/7 gnd v cc v cc v ee vci agnd opoff c2 c1 v5out v4out v3out v2out v1out v5out3 v5out2 gnd vrefp vref vrefm dum10 dum11 dum12 dum13 dum9 dum8 dum7 dum6 dum4 gnd dum1 y x id0 im kst0 kst1 kst2 kst3 kst4 kst5 kin0 kin1 kin2 kin3 vccdum1 aseg11 aseg12 kst6 kst7 gnd c2 c1 v cc v cc v cc port0 led2 led0 led1 port1 port2 dum2 dum3 dum5 dum14 gnd vccdum2 (top view) chip size: 11.39 m 2.89 m pad coordinates: pad center coordinate origin: chip center pad pitch: al pad size: 90 m m 90 m m au bump size: 70 m m 70 m m 120 m m
hd66727 9 chip-on-glass (cog) mounting and routing examples osc2 test id1/cs* vci c2 c1 v5out3 v3 v2 v ee gnd v cc v cc v cc v ee vci agnd opoff c2 c1 v5out v4out v3out v2out v1out v5out3 v5out2 gnd vrefp vref vrefm dummy gnd v cc dummy id0 im vccdummy vccdummy gnd c2 c1 v5out2 v cc osc1 exm reset* scl sda irq* kst0 kst1 kst2 kst3 kst4 kst5 kin0 kin1 kin2 kin3 kst6 kst7 port0 led2 led0 led1 port1 port2 scl sda irq* kst0 kst1 kst2 kst3 kst4 kst5 kin0 kin1 kin2 kin3 kst6 kst7 port0 led2 led0 led1 port1 port2 gnd osc2 osc1 exm v cc c1 c2 v5out3 v5out2 dummy dummy im="gnd" id0="v cc " id1="gnd" opoff="gnd" test="v cc " lcd glass
hd66727 10 tcp dimensions coms1/2 com32/1 com17/16 seg60/1 seg1/60 com1/32 com16/17 coms2/1 dummy aseg12 aseg1 acoms dummy 0.60p (51-1) = 30.0 mm 0.26p (109-1) = 28.08 mm 0.26 mm pitch 0.60mm pitch hit achi hd66727 v cc v1out v2out v3out v4out v5out v2 v3 v ee v5out3 v5out2 c1 c2 vci gnd v cc osc2 osc1 exm im opoff test reset* id1/cs* scl sda gnd agnd vrefp vref vrefm id0 irq* kin0 kin1 kin2 kin3 kst1 kst2 kst3 kst4 kst5 kst0 kst6 kst7 led0 led1 led2 port0 port1 port2 lcd driver outputs i/o and power supply
hd66727 11 hd66727 mounting variations and key-matrix configurations r c c cob board lcd glass lcd glass r c c heat seal heat seal lcd glass chip r c c tcp key-matrix board key-matrix board key-matrix board (1) cob-1 (3) tcp (2) cob-2 chip on f1 f2 123 456 789 * 0 # on f1 f2 123 456 789 * 0 # on f1 f2 123 456 789 * 0 # lcd glass chip r c c heat seal key-matrix board (4) cog on f1 f2 123 456 789 * 0 # chip figure 1 hd66727 mounting variations table 2 configurations of lcd modules (lcm) with key scan function for different mounting methods parts chip-on-board (cob) mounting 1 chip-on-board (cob) mounting 2 tape-carrier- package (tcp) mounting chip-on-glass (cog) mounting lcd glass necessary necessary necessary necessary lcm (cob) substrate necessary not necessary not necessary not necessary hd66727 package bare chip bare chip tcp bumped chip heat seal necessary necessary optional necessary key matrix substrate necessary necessary necessary necessary
hd66727 12 pin functions table 3 pin functional description signal number of pins i/o connected to function im 1 i v cc or gnd selects the mpu interface mode: low: i 2 c bus mode high: clock-synchronized serial mode id1/ cs* 1 i id1: v cc or gnd cs*: mpu inputs the hd66727's identification code (id1) in the i 2 c bus mode. selects the hd66727 in the clock-synchronized serial mode: low: hd66727 is selected and can be accessed high: hd66727 is not selected and cannot be accessed sda 1 i/o mpu inputs/outputs serial (receive/transmit) data and outputs the acknowledge bit in the i 2 c bus mode. inputs/outputs serial (receive/transmit) data in the clock- synchronized serial mode. scl 1 i mpu inputs serial clock pulses. serial data is latched at the rising edge of each clock pulse. id0 1 i v cc or gnd inputs the hd66727's identification code in both interface modes; must be fixed to high or low. irq* 1 o mpu generates the key scan interrupt signal. kst0 kst7 8 o key matrix generates strobe signals for latching scanned data from the key matrix at specific time interval. kin0?in3 4 i key matrix samples key state from key matrix synchronously with strobe signals. led0 led2 3 o led back light output ports for control of led or back light. can draw 2 ma? ma sink current. also used as general ports. port0 port2 3 o general output general output ports. these ports cannot drive current such as led control. coms1/2, coms2/1 2 o lcd common output signals for segment-icon display. com1/32 com32/1 32 o lcd common output signals for character display: com1 to com8 for the first line; com9 to com16 for the second line, com17 to com24 for the third line, and com25 to com32 for the fourth line. all the unused pins output deselection waveforms. in the sleep mode (slp = 1) or standby mode (stb = 1), all pins output v cc level. the cms bit can change the shift direction of the common signal. for example, if cms = 0, com1/32 is com1. if cms = 1, com1/32 is com32.
hd66727 13 table 3 pin functional description (cont) signal number of pins i/o connected to function seg1/60 seg60/1 60 o lcd segment output signals for segment-icon display and character display. in the sleep mode (slp = 1) or standby mode (stb = 1), all pins output v cc level. the sgs bit can change the shift direction of the segment signal. for example, if sgs = 0, seg1/60 is seg1. if sgs = 1, seg1/60 is seg60. acom 1 o lcd common output signal for annunciator display; can drive display statically between v cc and agnd levels; outputs v cc level while annunciator display is turned off (da = 0). aseg1 aseg12 12 o lcd segment output signals for annunciator display; can drive display statically between v cc and agnd levels; output v cc level while annunciator display is turned off (da = 0). v2, v3 2 i open or short- circuited v2 and v3 are voltage levels for the internal operational amplifiers; can drive lcd with 1/4 bias when v2 and v3 are short-circuited and with 1/6 bias when they are left disconnected. vrefp, vref, vrefm 3 i open or short- circuited adjusts the driving capability of the internal operational amplifiers according to the lcd power suppoly voltage. lcd power supply pin settings vref, voltage (v cc ? ee ) vrefp, and vrefm v cc ? ee : 3v?v only vref and vrefp shorted v cc ? ee : 4v?v all pins open v cc ? ee : 5v?v all pins shorted v cc ? ee : 7v or more only vref and vrefm shorted v1out v5out 5 i or o open or external bleeder-resistor used for output from the internal operational amplifiers when they are used (opoff = gnd); when amplifiers' driving capability is insufficient, attach a capacitor to stabilize the output. especially these capacitors for v1out and v4out must be attached in 1/26 duty and 1/34 duty. when the amplifiers are not used (opoff = v cc ), v1 to v5 voltages can be supplied to these pins externally. v ee 2 power supply gnd power supply for lcd drive. v cc ?v ee 13v. v cc , gnd 8 power supply v cc : +2.4v to +5.5v; gnd (logic): 0v agnd 1 power supply low level power supply for annunciator display; can adjust contrast of annunciators; agnd 3 gnd. osc1, osc2 2 oscillation- resistor or clock for r-c oscillation, connect an external resistor. for external clock supply, input clock pulses to osc1.
hd66727 14 table 3 pin functional description (cont) signal number of pins i/o connected to function vci 2 i power supply inputs a reference voltage and supplies power to the booster; generates the liquid crystal display drive voltage from the operating voltage. vci = 1.0v to 5.0v v cc v5out2 3 o v ee pin/booster capacitance voltage input to the vci pin is boosted twice and output. when the voltage is boosted three times, the same capacitance as that of c1?2 should be connected here. v5out3 2 o v ee pin voltage input to the vci pin is boosted three times and output. c1, c2 6 booster capacitance external capacitance should be connected here when using the booster. reset* 1 i mpu or external r-c circuit reset pin. initializes the lsi when low. be sure to input this signal after power-on. exm 1 i mpu external alternating signal used for annunciator display in the standby mode. if annunciator display is not used, exm must be fixed to v cc or gnd. opoff 1 i v cc or gnd turns the internal operational amplifier off when opoff = v cc , and turns it on when opoff = gnd. if the amplifier is turned off (opoff = v cc ), v1 to v5 must be supplied to the v1out to v5out pins. v cc dummy 2 0 input pad outputs v cc supply level; can fix the input pads to v cc level. test 1 i gnd test pin. must be fixed at gnd level.
hd66727 15 block function description system interface the hd66727 has two types of system interfaces: i 2 c bus and clock-synchronized serial. the interface mode is selected by the im pin. the hd66727 has two 8-bit registers: an instruction register (ir) and a data register (dr). the ir stores instruction codes, such as clear display, return home, and display control, and address information for display data ram (ddram), character generator ram (cgram), and segment ram (segram). the ir can only be written to by mpu and cannot be read from. the dr temporarily stores data to be written into ddram, cgram, segram, or annunciator. data written into the dr from the mpu is automatically written into ddram, cgram, segram, or annunciator by an internal operation. the dr is also used for data storage when reading data from ddram, cgram, or segram. when address information is written into the ir, data is read and then stored into the dr from ddram, cgram, or segram by an internal operation. data transfer between the mpu is then completed when the mpu reads the dr. after the read, data in ddram, cgram, or segram at the next address is sent to the dr for the next read from the mpu. these two registers and the operations can be selected by the register select bit (rs) and the read/write bit (r/w) as listed in table 4. for details, see the serial data transfer section. table 4 register selection by rs and r/w bits rs bit r/w bit operation 0 0 ir write as an internal operation 0 1 read busy flag (db7) and key scan data (db3 to db0) 1 0 dr write as an internal operation (dr to ddram, cgram, segram, or annunciator) 1 1 dr read as an internal operation (ddram, cgram, or segram to dr) busy flag (bf) when the busy flag is 1, the hd66727 is in the internal operation mode, and the next instruction will not be accepted. when rs = 0 and r/w = 1, the busy flag is output from db7. the next instruction must be written after ensuring that the busy flag is 0, or data must be transferred in appropriate timing considering instruction execution times.
hd66727 16 key scan registers (scan0 to scan7) the key matrix scanner senses and holds the key states at each rising edge of the key strobe signals that are output by the hd66727. the key strobe signals are output as time-multiplexed signals from kst0 to kst7. after passing through the key matrix, these strobe signals are used to sample the key status on four inputs kin0 to kin3, enabling up to 32 keys to be scanned. the states of inputs kin0 to kin3 are sampled by key strobe signal kst0 and latched into register scan0. similarly, the data sampled by strobe signals kst1 to kst7 is latched into registers scan1 to scan7, respectively. address counter (ac) the address counter (ac) assigns addresses to ddram, cgram, or segram. when the address set instruction is written into the ir, the address information is sent from the ir to the ac. selection of ddram, cgram, and segram is also determined concurrently by the instruction. figure 2 shows the address counter and a sample ddram address setting to the address counter. after writing into (reading from) ddram, cgram, or segram, the ac is automatically incremented by 1 (or decremented by 1). msb example : ddram address 4a address counter (ac) ac 6 ac5 ac4 ac3 ac2 ac1 lsb ac0 1 001010 figure 2 address counter and sample ddram address setting display data ram (ddram) display data ram (ddram) stores display data represented in 8-bit character codes. its capacity is 60 8 bits, or 60 characters, which is equivalent to an area of 12 characters 5 lines. any number of display lines (lcd drive duty ratio) from 1 to 4 can be selected by software. here, assignment of ddram addresses is the same for all display modes (table 5). the line to be displayed at the top of the display (display-start line) can also be selected by register settings. see table 6.
hd66727 17 table 5 ddram addresses and display positions display line 1st char. 2nd char. 3rd char. 4th char. 5th char. 6th char. 7th char. 8th char. 9th char. 10th char. 11th char. 12th char. 1st 00 01 02 03 04 05 06 07 08 09 0a 0b 2nd 10 11 12 13 14 15 16 17 18 19 1a 1b 3rd 20 21 22 23 24 25 26 27 28 29 2a 2b 4th 30 31 32 33 34 35 36 37 38 39 3a 3b 5th 40 41 42 43 44 45 46 47 48 49 4a 4b note: char. indicates character position. table 6 display-line modes, display-start line, and ddram addresses display-start lines display- line mode duty ratio common pins 1st line (sn = 000) 2nd line (sn = 001) 3rd line (sn = 010) 4th line (sn = 011) 5th line (sn = 100) 1-line (nl = 00) 1/10 com1 com8 ?0?0b? ?0?1b? ?0?2b? ?0?3b? ?0?4b? 2-line (nl = 01) 1/18 com1 com8 ?0?0b? ?0?1b? ?0?2b? ?0?3b? ?0?4b? com9 com16 ?0?1b? ?0?2b? ?0?3b? ?0?4b? ?0?0b? 3-line (nl = 10) 1/26 com1 com8 ?0?0b? ?0?1b? ?0?2b? ?0?3b? ?0?4b? com9 com16 ?0?1b? ?0?2b? ?0?3b? ?0?4b? ?0?0b? com17 com24 ?0?2b? ?0?3b? ?0?4b? ?0?0b? ?0?1b? 4-line (nl = 11) 1/34 com1 com8 ?0?0b? ?0?1b? ?0?2b? ?0?3b? ?0?4b? com9 com16 ?0?1b? ?0?2b? ?0?3b? ?0?4b? ?0?0b? com17 com24 ?0?2b? ?0?3b? ?0?4b? ?0?0b? ?0?1b? com25 com32 ?0?3b? ?0?4b? ?0?0b? ?0?1b? ?0?2b? character generator rom (cgrom) character generator rom (cgrom) generates 6 8-dot character patterns from 8-bit character codes. it can generate 240 6 8-dot character patterns. table 7 illustrates the relation between character codes and character patterns for the hitachi standard cgrom. user-defined character patterns are also available using a mask-programmed rom (see the modifying character patterns section).
hd66727 18 table 7 relation between character codes and character patterns (rom code: a03) cgram (1) cgram (4) cgram (3) cgram (2) cgram (1) cgram (4) cgram (3) cgram (2) cgram (1) cgram (4) cgram (3) cgram (2) cgram (1) cgram (4) cgram (3) cgram (2) x 0 x f x e x d x c x b x a x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 1 y 2 y 3 y 4 y 5 y 6 y 7 y 8 y 9 y a y b y c y d y e y f y 0 y lower upper
hd66727 19 table 7 relation between character codes and character patterns (rom code: a04) cgram (1) cgram (4) cgram (3) cgram (2) cgram (1) cgram (4) cgram (3) cgram (2) cgram (1) cgram (4) cgram (3) cgram (2) cgram (1) cgram (4) cgram (3) cgram (2) x 0 x f x e x d x c x b x a x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 1 y 2 y 3 y 4 y 5 y 6 y 7 y 8 y 9 y a y b y c y d y e y f y 0 y lower upper
hd66727 20 character generator ram (cgram) character generator ram (cgram) of 32 6 bits allows the user to redefine the character patterns. in the case of 6 8-dot characters, up to four characters may be redefined. write the character codes at addresses ?0? to ?3? into ddram to display the character patterns stored in cgram (table 8). table 8 example of relationships between character code (ddram) and character pattern (cgram data) d7 d6 d5 d4 d3 d2 d1 d0 character code (ddram data) cgram data lsb msb a2 a1 a0 a4 a3 0 000 00 1 010 0 11 100 101 110 111 0 * * 0 0 0 0 10001 10001 10001 01010 00100 00100 00100 00000 00 * * o4 o3 o2 o1 o0 o6 o7 cgram address 1 1 1 00000 * 1 000 00 1 0 1 0 011 100 101 11 0 1 * * 0 0 0 0 10001 10001 10001 0 1 0 1 0 00100 00100 00 1 00 11 * 0 0 0 0 0 0 0 0 o5 0 0 0 0 0 0 0 0 character pattern (1) (don't care) (don't care) character pattern (4) notes: 1. the lower 2 bits of the character code correspond to the upper two bits of the cgram address (2 bits: 4 types). 2. cgram address bits 0 to 2 designate the character pattern raster-row position. the 8th raster- row is the cursor position and its display is formed by a logical or with the cursor. 3. in the 5-dot font width, the higher three bits of the cgram data are invalid; use the lower five bits (o4 to o0). in the 6-dot font width, the higher two bits are invalid. 4. when the upper four bits (bits 7 to 4) of the character code are 0, cgram is selected. bits 3 and 2 of the character code are invalid (*). therefore, for example, the character codes 00h and 08h correspond to the same cgram address. 5. a set bit in the cgram data corresponds to display selection, and 0 to non-selection. segment ram (segram) segment ram (segram) is used to enable control of segments such as icons and marks by the user program. segments and characters are driven by a multiplexing drive method.
hd66727 21 segram has a capacity of 8 6 bits, for controlling the display of a maximum of 40 (48 in the 6-dot font width) icons and marks. while coms1 and coms2 outputs are being selected, segram is read and segments (icons and marks) are displayed by a multiplexing drive method (20 segments each during coms1 and coms2 selection). bits in segram corresponding to segments to be displayed are directly set by the mpu, regardless of the contents of ddram and cgram. tables 9 and 10 illustrate the correspondence between segram addresses and driver signals. table 9 correspondence between segment display segram addresses (aseg) and driver signals in the 5-dot font width aseg address segment signals common msb lsb d7 d6 d5 d4 d3 d2 d1 d0 signal 1 0 0 0 * * * seg1, seg21, seg41 seg2, seg22, seg42 seg3, seg23, seg43 seg4, seg24, seg44 seg5, seg25, seg45 coms1 1 0 0 1 * * * seg6, seg26, seg46 seg7, seg27, seg47 seg8, seg28, seg48 seg9, seg29, seg49 seg10, seg30, seg50 coms1 1 0 1 0 * * * seg11, seg31, seg51 seg12, seg32, seg52 seg13, seg33, seg53 seg14, seg34, seg54 seg15, seg35, seg55 coms1 1 0 1 1 * * * seg16, seg36, seg56 seg17, seg37, seg57 seg18, seg38, seg58 seg19, seg39, seg59 seg20, seg40, seg60 coms1 1 1 0 0 * * * seg1, seg21, seg41 seg2, seg22, seg42 seg3, seg23, seg43 seg4, seg24, seg44 seg5, seg25, seg45 coms2 1 1 0 1 * * * seg6, seg26, seg46 seg7, seg27, seg47 seg8, seg28, seg48 seg9, seg29, seg49 seg10, seg30, seg50 coms2 1 1 1 0 * * * seg11, seg31, seg51 seg12, seg32, seg52 seg13, seg33, seg53 seg14, seg34, seg54 seg15, seg35, seg55 coms2 1 1 1 1 * * * seg16, seg36, seg56 seg17, seg37, seg57 seg18, seg38, seg58 seg19, seg39, seg59 seg20, seg40, seg60 coms2 notes: 1. when the sft pin is grounded, the seg1 pin output is connected to the far left of the lcd panel, and when the sft pin is high, the seg60 pin output is connected to the far left. 2. seg1 to seg20 data is identical to seg21 to seg40 and seg41 to seg60 data. 3. the lower five bits (d4 to d0) of segram data determine on or off display of each segment. a segment is selected (turned on) when the corresponding data is 1, and is deselected (turned off) when the corresponding data is 0. the upper three bits (d7 to d5) are invalid.
hd66727 22 table 10 correspondence between segment display segram addresses (aseg) and driver signals in the 6-dot font width aseg address segment signals common msb lsb d7 d6 d5 d4 d3 d2 d1 d0 signal 1 0 0 0 * * seg1, seg25, seg49 seg2, seg26, seg50 seg3, seg27, seg51 seg4, seg28, seg52 seg5, seg29, seg53 seg6, seg30, seg54 coms1 1 0 0 1 * * seg7, seg31, seg55 seg8, seg32, seg56 seg9, seg33, seg57 seg10, seg34, seg58 seg11, seg35, seg59 seg12, seg36, seg60 coms1 1 0 1 0 * * seg13, seg37 seg14, seg38 seg15, seg39 seg16, seg40 seg17, seg41 seg18, seg42 coms1 1 0 1 1 * * seg19, seg43 seg20, seg44 seg21, seg45 seg22, seg46 seg23, seg47 seg24, seg48 coms1 1 1 0 0 * * seg1, seg25, seg49 seg2, seg26, seg50 seg3, seg27, seg51 seg4, seg28, seg52 seg5, seg29, seg53 seg6, seg30, seg54 coms2 1 1 0 1 * * seg7, seg31, seg55 seg8, seg32, seg56 seg9, seg33, seg57 seg10, seg34, seg58 seg11, seg35, seg59 seg12, seg36, seg60 coms2 1 1 1 0 * * seg13, seg37 seg14, seg38 seg15, seg39 seg16, seg40 seg17, seg41 seg18, seg42 coms2 1 1 1 1 * * seg19, seg43 seg20, seg44 seg21, seg45 seg22, seg46 seg23, seg47 seg24, seg48 coms2 notes: 1. when the sft pin is grounded, the seg1 pin output is connected to the far left of the lcd panel, and when the sft pin is high, the seg60 pin output is connected to the far left. 2. seg1 to seg24 data are identical to seg25 to seg48 and seg49 to seg60 data. 3. the lower six bits (d5 to d0) of segram data determine on or off display for each segment. a segment is selected (turned on) when the corresponding bit is 1, and is deselected (turned off) when the corresponding bit is 0. the upper two bits (d7 to d6) are invalid. timing generation circuit the timing generation circuit generates timing signals for the operation of internal circuits such as ddram, cgrom, cgram, and segram. ram read timing for display and internal operation timing by mpu access are generated separately to avoid interfering with each other. therefore, when writing data to ddram, for example, there will be no undesirable interferences, such as flickering, in areas other than the display area. cursor/blink control circuit the cursor/blink (or white-black inversion) control is used to produce a cursor or a flashing area on the display at a position corresponding to the location stored in the address counter (ac).
hd66727 23 for example (figure 3), when the address counter is 08h, a cursor is displayed at a position corresponding to ddram address ?8?. cursor position display position ddram address note: the cursor/blink or white-black inversion control is also active when the address counter indicates the cgram or segram. however, it has no effect on the display. 12345678 11 910 12 00 01 02 03 04 05 06 07 0a 08 09 0b figure 3 cursor position and ddram address multiplexing liquid crystal display driver circuit the multiplexing liquid crystal display driver circuit consists of 34 common signal drivers (com1 to com32, coms1, coms2) and 60 segment signal drivers (seg1 to seg60). when the number of lines are selected by a program, the required common signal drivers automatically output drive waveforms, while the other common signal drivers continue to output deselection waveforms. character pattern data is sent serially through a 60-bit shift register and latched when all needed data has arrived. the latched data then enables the segment signal drivers to generate drive waveform outputs. the shift direction of 60-bit data can be changed by the sgs bit. the shift direction of the common driver can also be changed by the cms bit; select the direction appropriate for the device mounting configuration. when multiplexing drive is not used, or during the standby or sleep mode, all the above common and segment signal drivers output the v cc level, halting display. annunciator driver circuit the static annunciator drivers, which are specially used for displaying icons and marks, consists of 1 common signal driver (acom) and 12 segment signal drivers (aseg1 to aseg12). since this driver circuit operates at the logic operating voltage (v cc to agnd), the lcd drive power supply circuit is not necessary, and low-power consumption can be achieved. it is suitable for mark indication during system standby because of its drive capability during the standby and sleep modes. when multiplexing drive is not used, or during the standby or sleep mode, all the above common and segment signal drivers output the v cc level, halting display. tables 11 to 13 illustratate the correspondence between the annunciator addresses (aan) and driver signals.
hd66727 24 table 11 correspondence between annunciator display addresses (aan) and driver signals aan address annunciator segment signals common msb lsb d7 d6 d5 d4 d3 d2 d1 d0 signal 0 0 0 0 aseg1 aseg2 aseg3 aseg4 acom 0 0 0 0 blink data blink data blink data blink data acom 0 0 0 1 aseg5 aseg6 aseg7 aseg8 acom 0 0 0 1 blink data blink data blink data blink data acom 0 0 1 0 aseg9 aseg10 aseg11 aseg12 acom 0 0 1 0 blink data blink data blink data blink data acom notes: 1. the annunciator is turned on when the corresponding even bit (data) is 1, and is turned off when 0. 2. the turned-on annunciator blinks when the corresponding odd bit (blink) is 1. blinking is provided by repeatedly turning on the annunciator for 32 frames and then turning it off for the next 32 frames. table 12 correspondence between led driving port addresses (aan) and driver signals aan address led driving and general output port msb lsb d7 d6 d5 d4 d3 d2 d1 d0 0 0 1 1 * * port2 port1 port0 led2 led1 led0 general output port led driving port notes: 1. the led bits are inverted and output from each led pin. if 0 is set, the v cc level is output from the led pin. if 1 is set, the gnd level is output from the led pin. 2. the port bits output from each port pin. if 0 is set, the gnd level is output from the port pin. if 1 is set, the v cc level is output from the port pin. 3. current cannot be driven for outputs of the v cc level in led2?ed0 and the v cc and gnd levels in port2?ort0. 4. the upper two bits (d7 and d6) are invalid. table 13 correspondence between seg/com addresses (aan) and driver signals aan address shift direction of seg/com driver msb lsb d7 d6 d5 d4 d3 d2 d1 d0 0 1 0 0 * * * * * * cms sgs notes: 1. if cms = 0, com1/32 is the first line of the first column, and com32/1 is the 8th line of the fourth column. if cms = 1, com1/32 is the 8th line of the fourth column, and com32/1 is the first line of the first column. if cms = 0, coms1/2 is coms1, and coms2/1 is com2. 2. if sgs = 0, seg1/60 is seg1 in the left of the display, and seg60/1 is seg60 in the right of the display. if sgs = 1, the shift direction of the seg is reversed. 3. the upper six bits (d7?2) are invalid.
hd66727 25 led output port the hd66727 includes three led/back-light driving output ports and three general output ports. these ports can control the led from the microcomputer through the serial interface. booster (dc-dc converter) the booster doubles or triples a voltage input to the vci pin. with this function, both the internal logic units and lcd drivers can be controlled with a single power supply. oscillator (osc) the hd66727 can provide r-c oscillation simply by adding an external oscillation-resistor between the osc1 and osc2 pins. the appropriate oscillation frequency for operating voltage, display size, and frame frequency can be obtained by adjusting the external-resistor value. clock pulses can also be supplied externally. since r-c oscillation is halted during the standby mode, current consumption can be reduced. v-pin voltage followers a voltage follower for each voltage level (v1 to v5) reduces current consumption by the lcd drive power supply circuit. no external resistors are required because of the internal bleeder-resistor, which generates different levels of lcd drive voltage. the voltage followers can be turned off while multiplexing drive is not being used. contrast adjuster the contrast adjuster can adjust lcd contrast by varying lcd drive voltage by software. this function is suitable for selecting appropriate brightness of the lcd or for temperature compensation.
hd66727 26 modifying character patterns character pattern development procedure start write eprom art work ok ? masking trial sample ok ? sample evaluation hitachi user no no yes yes eprom hitachi ? determine character patterns create eprom address data listing computer processing create character pattern listing mass production evaluate character patterns figure 4 character pattern development procedure
hd66727 27 the following operations correspond to the numbers listed in figure 4: 1. determine the correspondence between character codes and character patterns. 2. create a listing indicating the correspondence between eprom addresses and data. 3. program the character patterns into an eprom. 4. send the eprom to hitachi. 5. computer processing of the eprom is performed at hitachi to create a character pattern listing, which is sent to the user. 6. if there are no problems within the character pattern listing, a trial lsi is created at hitachi and samples are sent to the user for evaluation. when it is confirmed by the user that the character patterns are correctly written, mass production of the lsi will proceed at hitachi.
hd66727 28 programming character patterns this section explains the correspondence between addresses and data used to program character patterns in eprom. programming to eprom: the hd66727 character generator rom can generate 240 6 8-dot character patterns. table 14 shows correspondence between the eprom address, data, and the character pattern. table 14 example of correspondence between eprom address, data, and character pattern (6 8 dots) a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 000 00 1 010 011 100 101 11 0 111 1 000 1 o4 o3 o2 o1 o0 1 0001 1 0001 01 010 0 0100 0 0100 00 1 00 0 0000 0 o5 0 0 0 0 0 0 0 character code line position eprom address data lsb msb 0 0 0 0 0 0 0 0 0 a11 0 1011001 notes: 1. eprom address bits a11 to a4 correspond to a character code. 2. eprom address bits a2 to a0 specify the line position of the character pattern. eprom address bit a3 must be set to 0. 3. eprom data bits o5 to o0 correspond to character pattern data. 4. areas which are lit (indicated by shading) are stored as 1, and unlit areas as 0. 5. the eighth raster-row is also stored in the cgrom, and must also be programmed. if the eighth raster-row is used for a cursor, this data must all be set to zero. 6. eprom data bits o7 to o6 are invalid. 0 must be written in all bits. handling unused character patterns: 1. eprom data outside the character pattern area: this is ignored by character generator rom for display operation so any data is acceptable. 2. eprom data in cgram area: always fill with zeros. 3. treatment of unused user patterns in the hd66727 eprom: according to the user application, these are handled in either of two ways: a. when unused character patterns are not programmed: if an unused character code is written into ddram, all its dots are lit, because the eprom is filled with 1s after it is erased. b. when unused character patterns are programmed as 0s: nothing is displayed even if unused character codes are written into ddram. (this is equivalent to a space.)
hd66727 29 instructions outline only the instruction register (ir) and the data register (dr) of the hd66727 can be controlled by the mpu. before starting internal operation of the hd66727, control information is temporarily stored in these registers to allow interfacing with various peripheral control devices or mpus which operate at different speeds. the internal operation of the hd66727 is determined by signals sent from the mpu. these signals, which include register selection bit (rs), read/write bit (r/w), and the data bus (db0 to db7), make up the hd66727 instructions. there are four categories of instructions that: control display control key scan control power management set internal ram addresses perform data transfer with internal ram normally, instructions that perform data transfer with internal ram are used the most. however, auto- incrementation by 1 (or auto-decrementation by 1) of internal hd66727 ram addresses after each data write can lighten the program load of the mpu. while an instruction is being executed for internal operation, or during reset, no instruction other than the busy flag/key scan read instruction can be executed. because the busy flag is set to 1 while an instruction is being executed, check it to make sure it is 0 before sending another instruction from the mpu. if an instruction is sent without checking the busy flag, the time between the first instruction issue and next instruction issue must be longer than the instruction execution time itself. refer to table 23 for the list of each instruction execution cycles (clock pulses). the execution time depends on the operating clock frequency (oscillation frequency).
hd66727 30 instruction description busy flag/key scan read the busy flag/key scan read instruction (figure 5) reads scan data sd3 to sd0 latched into scan registers scan0 to scan7, scan cycle state sf1 and sf0, and transfer flag tf, sequentially. it also reads the busy flag (bf) indicating that the system is now internally operating on a previously received instruction. if bf is 1, the internal operation is in progress. the next instruction will not be accepted until bf is cleared to 0. adjust the data transfer rate so that the last bit of the next instruction is received after bf is cleared to 0. 0 db7 db0 1 bf sf1 sf0 tf sd3 sd2 sd1 sd0 rs r/w figure 5 busy flag/key scan read instruction clear display the clear display instruction (figure 6) writes space code 20h (character pattern for character code 20h must be a blank pattern) into all ddram addresses. it then sets ddram address 0 into the address counter. it also sets i/d to 1 (increment mode) in the entry mode set instruction. 0000000001 rs r/w db7 db0 figure 6 clear display instruction return home the return home instruction (figure 7) sets ddram address 0 into the address counter. the ddram contents do not change. the cursor or blinking goes to the top left of the display. 0000000010 rs r/w db7 db0 figure 7 return home instruction
hd66727 31 start oscillator the start oscillator instruction (figure 8) re-starts the oscillator from a halt state in the standby mode. after issuing this instruction, wait at least 10 ms for oscillation to become stable before issuing the next instruction. (refer to the standby mode section.) 0000000011 rs r/w db7 db0 figure 8 start oscillator instruction entry mode set the entry mode set instruction (figure 9) includes the i/d and osc bits. i/d: increments (i/d = 1) or decrements (i/d = 0) the ddram address by 1 when a character code is written into or read from ddram. the cursor or blinking moves to the right when incremented by 1 and to the left when decremented by 1. the same applies to writing and reading of cgram and segram. osc: divides the external clock frequency by four (osc = 1) and uses the resulting clock as an operating clock for all internal operations. the execution time for this instruction and subsequent ones is therefore quadrupled. the execution time of clearing this bit (osc = 0) is also quadrupled. note that, the key scan cycle is affected. for details, refer to the partial-display-off function section. 00000001i/d osc rs r/w db7 db0 figure 9 entry mode set instruction cursor control the cursor control instruction (figure 10) includes the b/w, c, and b bits. b/w : when b/w is 1, the character at the cursor position is cyclically (every 32 frames) displayed with black-white inversion. c: the cursor is displayed on the 8th raster-row when c is 1. the cursor is displayed using 5 dots in the 8th raster-row for 5 8-dot character font, or 6 dots in the 8th raster-row for 6 8 dot character font. b: the character indicated by the cursor blinks when b is 1. the blinking is displayed as switching between all black dots and displayed characters every 32 frames. the cursor and blinking can be set to display simultaneously. when lc and b = 1, the blinking is displayed as switching between all white dots and displayed characters. figure 11 shows cursor control examples.
hd66727 32 0000001b/wc b rs r/w db7 db0 figure 10 cursor control instruction alternating display (every 32 frames) alternating display i) white-black inverting display example ii) 8th raster-row cursor displa y ii) blink display example figure 11 cursor control examples display on/off control the display on/off control instruction (figure 12) includes the d, fw, and lc bits. d: the character display and the segment display for multiplexing icon are on when d is 1. when off, the display data remains in ddram or segram, and can be displayed instantly by setting d to 1. when d is 0, multiplexing lcd drive halts and the display is off with the seg1 to seg60 outputs, com1 to com32 outputs, and coms1/2 output set to v cc level and off. because of this, the hd66727 can control charging current for the lcd with driving. fw: when fw = 0, the font width is 5 dots. when fw = 1, the font width is 6 dots. lc: when lc = 1, a cursor attribute is assigned to the line that contains the address counter (ac) value. cursor mode can be selected with the b/w, c, and b bits. refer to the line-cursor display section. 0000010dfw lc rs r/w db7 db0 figure 12 display on/off control instruction
hd66727 33 power control the power control instruction (figure 13) includes the amp, slp, and stb bits. amp: when amp = 1, each voltage follower for v1 to v5 pins and the booster are turned on. when amp = 0, current consumption can be reduced while character or segment display controlled by the multiplexing drive method is not being used. slp: when slp = 1, the hd66727 enters the sleep mode, where all the internal operations are halted except for the annunciator display function, key scan function, and the r-c oscillator, thus reducing current consumption. for details, refer to the sleep mode section. only the following instructions can be executed during the sleep mode. 1. annunciator address (aan) set 2. annunciator data write 3. led drive/general output port data write 4. annunciator display on or off (da = 1 or 0) 5. voltage follower on or off (amp = 1 or 0) 6. standby mode set (stb = 1) 7. sleep mode cancel (slp = 0) 8. key scan data (sd) read 9. key scan interrupt generation enable/disable (ire = 1 or 0) 10. key scan cycle (kf) set during the sleep mode, the other ram data and instructions cannot be updated but they are retained. stb: when stb = 1, the hd66727 enters the standby mode, where the device completely stops, halting all the internal operations including the internal r-c oscillator and no external clock pulses are supplied. however, annunciator display alone is available when the alternating signal for annunciator-driving signals is supplied to the exm pin. when the annunciator display is not needed, make sure to turn off display (da = 0). normal key scanning is also halted in the standby mode. however, the hd66727 can detect four key inputs connected with strobe signal kst0, thus generating the key scan interrupt (irq*). for details, refer to the standby mode section and the key scan interrupt section. only the following instructions can be executed during the standby mode. 1. annunciator address (aan) set 2. annunciator data write 3. led drive/general output port data write 4. annunciator display on or off (da = 1 or 0) 5. voltage follower on or off (amp = 1 or 0) 6. start oscillator 7. standby mode cancel (stb = 0) 8. key scan interrupt generation enable/disable (ire = 1 or 0)
hd66727 34 during the standby mode, the other ram data and instructions may be lost; they must be set again after the standby mode is canceled. 0000011ampslp stb rs r/w db7 db0 figure 13 power control instruction display control the display control instruction (figure 14) includes the nl and dl bits. nl1, nl0: designates the number of display lines. this value determines the lcd drive multiplexing duty ratio (table 15). the address assignment is the same for all display line modes. dl3?l1: doubles the height of characters on a specified line. the first, second, or third line is doubled in height when dl1, dl2, or dl3 = 1, respectively. two lines can be simultaneously doubled in a 4-line display. refer to the double-height display section. 0 rs r/w db7 db0 0 0 0 1 nl1 nl0 dl3 dl2 dl1 figure 14 display control instruction table 15 nl bits and display lines nl1 nl0 number of display lines lcd drive multiplexing duty ratio 0 0 1 1/10 0 1 2 1/18 1 0 3 1/26 1 1 4 1/34 contrast control the contrast control instruction (figure 15) includes the sn and ct bits. sn2: combined with the sn1 and sn0 bits described in the scroll control section to select the top line to be scrolled (display-start line). ct3?t0: controls the lcd drive voltage (potential difference between v cc and v5) to adjust contrast (figure 16 and table 16). for details, refer to the contrast adjuster section.
hd66727 35 0 0 0 1 0 sn2 ct3 ct2 ct1 ct0 rs r/w db7 db0 figure 15 contrast control instruction v cc v2 v3 r r r r r vr + + + + r + v ee hd66727 figure 16 contrast adjuster table 16 ct bits and variable resistor value of contrast adjuster ct3 ct2 ct1 ct0 variable resistor value (vr) 0 0 0 0 6.4 x r 0 0 0 1 6.0 x r 0 0 1 0 5.6 x r 0 0 1 1 5.2 x r 0 1 0 0 4.8 x r 0 1 0 1 4.4 x r 0 1 1 0 4.0 x r 0 1 1 1 3.6 x r 1 0 0 0 3.2 x r 1 0 0 1 2.8 x r 1 0 1 0 2.4 x r 1 0 1 1 2.0 x r 1 1 0 0 1.6 x r 1 1 0 1 1.2 x r 1 1 1 0 0.8 x r 1 1 1 1 0.4 x r
hd66727 36 scroll control the scroll control instruction (figure 17) includes the sn and sl bits. sn1, sn0: combined with the sn2 bit described in the contrast control section to select the top line to be displayed (display-start line) through the data output from the com1 pin (table 17). after first five lines are displayed from the top line, the cycle is repeated and scrolling continues. sl2?l0: selects the top raster-row to be displayed (display-start raster-row) in the display-start line specified by sn2 to sn0. any raster-row from the first to eighth can be selected (table 18). this function is used to perform vertical smooth scroll together with sn2 to sn0. for details, refer to the vertical smooth scroll section. 0 0 0 1 1 sn1 sn0 sl2 sl1 sl0 rs r/w db7 db0 figure 17 scroll control instruction table 17 sn bits and display-start lines sn2 sn1 sn0 display-start line 0 0 0 1st line 0 0 1 2nd line 0 1 0 3rd line 0 1 1 4th line 1 0/1 0/1 5th line table 18 sn bits and display-start raster-rows sl2 sl1 sl0 display-start raster-row 0 0 0 1st raster-row 0 0 1 2nd raster-row 0 1 0 3rd raster-row 0 1 1 4th raster-row 1 0 0 5th raster-row 1 0 1 6th raster-row 1 1 0 7th raster-row 1 1 1 8th raster-row
hd66727 37 annunciator/segram address set the annunciator/segram address set instruction (figure 18) includes the da and a (aan/aseg) bits. da: turns annunciator display on or off. when da = 1, annunciator display is turned on and driven statically. when da = 0, annunciator display is turned off with aseg1 to aseg10 and acom pins held to v cc level. the internal operating clock supply is halted during the standby mode; make sure to turn off display (da = 0) if the external alternating signal is not supplied. for details, refer to the segment display and annunciator display section and the standby mode section. aaaa: used for setting the segram address into the address counter (ac) or for directly setting the annunciator address. the segram addresses range from 1000h to 1111h (8 addresses), while the annunciator addresses range from 0000h to 0010h (3 addresses). the annunciator address is directly set without using the address counter, and consequently must be updated for each access. the annunciator address can be set even during the sleep and standby modes. once the segram address is set, data in the segram can be accessed consecutively since the address counter is automatically incremented or decremented by one according to the i/d bit setting after each access. the segram address cannot be set during the sleep or standby mode. aaaa is the address for setting the 0011 led/general port data; 0100 is the address for setting the seg/com shift direction. see 'annunciator driver circuit' for details. 0 rs r/w db7 db0 01 00daaaaa figure 18 annunciator/segram address set instruction
hd66727 38 table 19 annunciator/led/seg/com shift direction/segram address set address aaaadb7 db6 db5 db4 db3 db2 db1 db0 annunciator 0000 aseg1 aseg2 aseg3 aseg4 address 0001 aseg5 aseg6 aseg7 aseg8 0010 aseg9 aseg10 aseg11 aseg12 led port address 0011* * port2 port1 port0 led2 led1 led0 seg/com shift direction address 0100 ******cmssgs segram 1000* * segram data in coms1 side address 1001* * 1010* * 1011* * 1100* * segram data in coms2 side 1101* * 1110* * 1111* * cgram address set the cgram address set instruction (figure 19) includes the a (acg) bits. aaaaa: used for setting the cgram address into the address counter (ac). the cgram addresses range from 00h to 1fh (32 addresses) (table 19). once the cgram address is set, data in the cgram can be accessed consecutively since the address counter is automatically incremented or decremented according to the i/d bit setting after each access. the cgram address cannot be set during the sleep or standby mode. 0 rs r/w db7 db0 0101aaaaa figure 19 cgram address set instruction
hd66727 39 table 20 cgram addresses and character codes displayed character cgram address character codes 1st character ?0? to ?7? ?0? 2nd character ?8? to ?f? ?1? 3rd character ?0? to ?7? ?2? 4th character ?8? to ?f? ?3? ddram address set the ddram address set instruction (figure 20) includes the a (add), ire, and kf bits. aaaaaaa: used for setting the ddram address into the address counter (ac). the ddram addresses range from ?0? to ?b? (60 addresses) (table 21). once the ddram address is set, data in the ddram can be accessed consecutively since the address counter is automatically incremented or decremented according to the i/d bit setting after each access. here, invalid addresses are automatically skipped. the ddram address cannot be set during the sleep or standby mode. 0 rs r/w db7 db0 upper bits lower bits 0 1 1 0 ire kf1 kf0 a a 00111 aaaaa figure 20 ddram address set instruction table 21 ddram addresses and invalid addresses displayed line ddram address invalid addresses 1st line ?0? to ?b? ?c? to ?f? 2nd line ?0? to ?b? ?c? to ?f? 3rd line ?0? to ?b? ?c? to ?f? 4th line ?0? to ?b? ?c? to ?f? 5th line ?0? to ?b? ?c? and subsequent addresses
hd66727 40 ire: when ire is 1, the key scan interrupt (irq*) generation is enabled. when a key is pressed, the irq* pin outputs a low level signal. kf1, kf0: used for specifying the key scan cycle. set these bits according to the mechanical characteristics of the keys and the oscillation frequency (table 22). table 22 kf bits and key scan cycles nl1 kf1 kf0 key scan cycle key strobe width 1 or 2 display lines (nl1=0) 0 0 160/fosc 20/fosc 1 or 2 display lines (nl1=0) 0 1 320/fosc 40/fosc 1 or 2 display lines (nl1=0) 1 0 640/fosc 80/fosc 1 or 2 display lines (nl1=0) 1 1 1,280/fosc 160/fosc 3 or 4 display lines (nl1=1) 0 0 320/fosc 40/fosc 3 or 4 display lines (nl1=1) 0 1 640/fosc 80/fosc 3 or 4 display lines (nl1=1) 1 0 1,280/fosc 160/fosc 3 or 4 display lines (nl1=1) 1 1 2,560/fosc 320/fosc note: fosc is the oscillation frequency or external clock frequency.
hd66727 41 write data to ram the write data to ram instruction (figure 21) writes 8-bit data to annunciator or ddram, lower 6-bit data to led port, segram or cgram, or lower two bits to shift direction change bits of seg/com that is selected by the previous specification of the address set instruction (annunciator/led/segram address set, cgram address set, or ddram address set). after a write, the address is automatically incremented or decremented by 1 according to the i/d bit setting in the entry mode set instruction. the annunciator or led port address is not automatically updated; it must be specifically updated to write data to a different address. during the sleep and standby modes, ddram, cgram, or segram cannot be accessed. 1 rs r/w db7 db0 0dddddddd figure 21 write data to ram instruction read data from ram the read data from ram instruction (figure 22), reads 8-bit data from ddram, or 5-bit data from cgram or segram that is selected by the previous specification of the address set instruction (segram address set, cgram address set, or ddram address set). the unused upper three bits of cgram or segram data are read as 000; annunciator data cannot be read. if no address is specified by the address set instruction just before this instruction, the first data read will be invalid. when executing consecutive read instructions, the next data is normally read from the next address. after a read, the address is automatically incremented or decremented by 1 according to the i/d bit setting in the entry mode set instruction. 1 rs r/w db7 db0 1dddddddd figure 22 read data from ram instruction
hd66727 42 table 23 instruction list code execution no. instruction r/w rs db7 db6 db5 db4 db3 db2 db1 db0 description cycle *1 ks busy flag/key scan read 1 0 bf sf tf sd reads busy flag (bf), key- scan state (sf and tf), and data in key scan registers (sd). 0 cl clear display 000000 000 1 clears entire display and sets address 0 into the address counter. 310 ch return home 000000 001 0 sets ddram address 0 into the address counter. 5 os start oscillator 000000 001 1 starts the oscillation standby mode. em entry mode set 000000 01i/dosc sets the address update direction after ram access (i/d), and system clock division (osc). 5 cr cursor control 000000 1b/wcb sets black-white inverting cursor (b/w), 8th raster- row cursor (c), and blink cursor (b). 5 do display on/off control 000001 0dfwlc sets character/segment display on (d), font width (fw), and line-cursor display (lc). 5 pw power control 000001 1ampslpstb turns on lcd power supply (amp), and sets the sleep mode (slp) and standby mode (stb). 5 dc display control 00001nl1nl0dl3dl2dl1 sets the number of display lines (nl) and the lines to be doubled in height. 5 cn contrast control 00010sn2 ct sets the display-start line (sn2) and contrast- adjusting value (ct). 5 sc scroll control 00011sn1sn0 sl sets the display-start line (sn) and display-start raster-row (sl). 5 as annunciator/ segram address set 00100da aan/aseg turns on the annunciator display (da) and sets annunciator/segram address. 5 ca cgram address set 00101 acg sets the initial cgram address to the address counter. 5
hd66727 43 table 23 instruction list (cont) code execution no. instruction r/w rs db7 db6 db5 db4 db3 db2 db1 db0 description cycle *1 da ddram address set (upper bits) 00110irekf1kf0add (upper bits) sets the initial higher ddram address to the address counter, and key scan cycle. 5 da ddram address set (lower bits) 00111 add (lower bits) sets the initial lower ddram address to the address counter. 5 wd write data to ram 0 1 write data writes data to ddram, cgram, segram, annunciator/led/gener al port, or seg/com shift direction. 5 rd read data from ram 1 1 read data reads data from ddram, cgram, or segram. 5 note: 1. represented by the number of operating clock pulses; the execution time depends on the supplied clock frequency or the internal oscillation frequency. bit definition: bf = 1: internally operating sf: key-scan state tf = 1: key-scan internally operating sd: key-scanned data i/d = 1: address increment i/d = 0: address decrement osc = 1: system clock divided by four b/w = 1: black-white inverting cursor on c = 1: 8th raster-row cursor on b = 1: blink cursor on d = 1: character/segment display on fw = 0: 5-dot font width fw = 1: 6-dot font width lc = 1: line containing ac given cursor attribute amp = 1: voltage followers and booster on slp = 1: sleep mode stb = 1: standby mode ct: contrast adjustment nl1, nl0: number of display lines [00: 1 line (1/10 duty ratio), 01: 2 lines (1/18 duty ratio), 10: 3 lines (1/26 duty ratio), 11: 4 lines (1/34 duty ratio)] dl3?l1: double-height lines (dl1 = 1: 1st line, dl2 = 1: 2nd line, dl3 = 1: 3rd line) sn2?n0: display-start line (000: 1st line, 001: 2nd line, 010: 3rd line, 011: 4th line, 100: 5th line) sl2?l0: display-start raster-row (000: 1st raster-row ... 111: 8th raster-row) da = 1: annunciator display on aan/aseg: annunciator address (0000?010), led/general port address (port2?ort0, led2?ed0) (0011) aan/aseg: seg/com shift change address (cms, sgs) (0100), segram address (1000?111)
hd66727 44 acg: cgram address (00000?1111) add: ddram address (0000000?001011) ire = 1: key scan interrupt generation enabled kf1, kf0: key scan cycle set reset function initialization by internal reset circuit the hd66727 is internally initialized by reset* input. during initialization, the system executes the instructions as described below. here, the busy flag (bf) therefore indicates a busy state (bf = 1), accepting no instruction or ram data access from the mpu. here, reset input must be held at least 10 ms. after releasing power-on reset, clear display instruction is operated. so wait for 1,000 clock-cycles or more. make sure to reset the hd66727 immediately after power-on. initialization of instruction sets, ram, and pins instruction set initialization: 1. clear display executed writes 20h to ddram after releasing reset. 2. return home executed sets the address counter (ac) to 00h to select ddram 3. start oscillator executed 4. entry mode set i/d = 1: increment by 1 osc = 0: clock frequency not divided 5. cursor control b/w = 0: white-black inverting cursor off c = 0: 8th raster-row cursor off b = 0: blink cursor off 6. display on/off control d = 0: character/segment display off fw = 0: 5-dot font width lc = 0: line-cursor off 7. power control amp = 0: lcd power supply off slp = 0: sleep mode off stb = 0: standby mode off
hd66727 45 8. display control nl1, nl0 = 11: 4-line display (1/34 multiplexing duty ratio) dl3?l1 = 000: double-height display off 9. contrast adjust ct = 0000: weak contrast 10. scroll control sn2?n0 = 000: first line displayed at the top sl2?l0 = 000: first raster-row displayed at the top of the first line 11. annunciator control da = 0: annunciator display off 12. key scan control ire = 0: key scan interrupt (irq*) generation disabled kf1, kf0 = 00: key scan cycle set to 320 clock cycles 13. led/general port led2/led1/led0 = 000: led2/led1/led0 outputs = v cc level port2/ port1/ port0 = 000: port2/ port1/ port0 outputs = gnd level 14. lcd driver output direction cms = 0: starts shift from com1/32 sgs = 0: starts shift from seg1/60 ram data initialization: 1. ddram all addresses are initialized to 20h by the clear display instruction 2. cgram/segram not automatically initialized by reset input; must be initialized by software while display is off (d = 0) 3. annunciator data not automatically initialized by reset input; must be initialized by software while display is off (da= 0) output pin initialization: 1. lcd driver output pins (seg/com, aseg/acom): outputs v cc level 2. booster output pins (v5out2 and v5out3): outputs gnd level 3. oscillator output pin (osc2): outputs oscillation signal 4. key strobe pins (kst0 to kst7): outputs strobe signals at a specified time interval 5. key scan interrupt pin (irq*): outputs v cc level 6. led driving port (led0?ed2): outputs v cc level 7. general output port (port0?ort2): outputs gnd level
hd66727 46 serial data transfer i 2 c bus interface grounding the im pin (interface mode pin) allows serial data transfer conforming to the i 2 c bus interface using the serial data line (sda) and serial transfer clock line (scl). here, the hd66727 operates in an transmit/receive slave mode. the hd66727 initiates serial data transfer by transferring the first byte when a high scl level at the falling edge of the sda input is sampled; it ends serial data transfer when a high scl level at the rising edge of the sda input is sampled. table 24 illustrates the first bytes of i 2 c bus interface data and figure 23 shows the i 2 c bus interface timing sequence. the hd66727 is selected when the higher six bits of the 7-bit slave address in the first byte transferred from the master device match the 6-bit device identification code assigned to the hd66727. the hd66727, when selected, receives the subsequent data string. the lower bits of the identification code can be determined by the id1 and id0 pins; select an appropriate code that is not assigned to any other slave device. the upper four bits is fixed to 0111. two different slave addresses must be assigned to a single hd66727 because the least significant bit (lsb) of the slave address is used as a register select bit (rs): when rs = 0, an instruction can be issued or key scan data can be read, and when rs = 1, data can be written to or read from ram. read or write is selected according to the eighth bit of the first byte (r/w bit) as shown in table 25. the ninth bit of the first byte is a receive-data acknowledge bit (ack). when the received slave address matches the device id code, the hd66727 pulls down the ack bit to a low level. therefore, the ack output buffer is an open-drain structure, only allowing low-level output. however, the ack bit is undetermined immediately after power-on; make sure to initialize the lsi using the reset* input. after identifying the address in the first byte, the hd66727 receives the subsequent data as an hd66727 instruction or as ram data, or transmits key scan data or ram data. having received or transmitted 8-bit data normally, the hd66727 pulls down the ninth bit (ack) to a low level. therefore, if the ack is not returned, the data must be transferred again. multiple bytes of data can be consecutively transferred until the transfer-end condition is satisfied. here, when the serial data transfer rate is longer than the hd66727 instruction execution time, effective data transfer is possible without retransmission (see table 23, instruction list). note that the display clear instruction alone requires longer execution time than the others.
hd66727 47 table 24 first bytes of i 2 c bus interface data transferred bit string first byte of s bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 bit 8 bit 9 i 2 c bus system * 1 transfer start a6 a5 a4 a3 a2 a1 a0 r/w ack hd66727 * 2 transfer start 0111id1id0rsr/wack notes: 1. bits 1 to 7 of the first byte of the i 2 c bus system indicate the i 2 c slave address. 2. bits 1 to 6 of the first byte of the hd66727 indicate the device id code. table 25 rs and r/w bit function of i 2 c bus interface data rs r/w function 0 0 writes instruction 0 1 reads key scan data and bf flag 1 0 writes ram data 1 1 reads ram data
hd66727 48 a) basic data-receive timing through the i2c bus interface 1st byte instructions transfer end 1 2 3 4 5 6 7 8 9 101112131415161718192021222324 d7 d6 d5 d4 0 0111 0111 2nd instruction device id code 1st instruction scl (input) sda (input/ output) id0 id1 id0 id1 rs d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 transfer start msb 25 26 ack ack ack 27 acknowledge rs msb slave address r/ w b) basic data-transmit timing through the i2c bus interface 1st byte instructions transfer end 1 2 3 4 5 6 7 8 9 101112131415161718192021222324 d7 d6 d5 d4 1 2nd read device id code 1st read scl (input) sda (input/ output) rs d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 transfer start msb 25 26 ack ack ack 27 rs msb slave address r/ w 1st byte scl (input) sda (input/ output) d) consecutive key-scanned data-transmit timing through the i2c bus interface s 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 key-scanned data (scan0) a c k a c k a c k 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 a c k p start end 1st byte ram data 1 execution time scl (input) sda (input/ output) e) consecutive ram data-transmit timing through the i2c bus interface s 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ram data 1 a c k a c k a c k 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 ram data 2 execution time a c k p start end transfers the ram data-2 ack after the ram data 1 has been executed. ram data 2 ram data 3 key-scanned data (scan1) key-scanned data (scan2) transfers the ack after 8-bit data has been transmitted. 1st byte instruction 1 execution time scl (input) sda (input/ output) s 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 instruction 1 a c k a c k instruction 2 a c k 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 instruction 2 execution time instruction 3 a c k p start end transfers the instruction-2 ack after instruction 1 has been executed. c) consecutive instruction-receive timing through the i2c bus interface acknowledge acknowledge acknowledge acknowledge acknowledge figure 23 i 2 c bus interface timing sequence
hd66727 49 clock-synchronized serial interface setting the im pin (interface mode pin) to the high level allows standard clock-synchronized serial data transfer, using the chip select line (cs*), serial data line (sda), and serial transfer clock line (scl). the hd66727 initiates serial data transfer by transferring the start byte at the falling edge of the cs* input. it ends serial data transfer at the rising edge of the cs* input. table 24 illustrates the first bytes of i 2 c bus interface data and figure 24 shows the clock-synchronized serial interface timing sequence. the hd66727 is selected when the 6-bit chip address in the start byte transferred from the transmitting device matches the 6-bit device identification code assigned to the hd66727. the hd66727, when selected, receives the subsequent data string. the least significant bit of the identification code can be determined by the id0 pin. the upper five bits must be 01110. two different chip addresses must be assigned to a single hd66727 because the seventh bit of the start byte is used as a register select bit (rs): when rs = 0, an instruction can be issued or key scan data can be read, and when rs = 1, data can be written to or read from ram. read or write is selected according to the eighth bit of the start byte (r/w bit) as shown in table 27. after receiving the start byte, the hd66727 receives or transmits the subsequent data byte-by-byte. data is transferred with the msb first. to transfer data consecutively, adjust the data transfer rate so that the hd66727 can complete the current instruction before the eighth bit of the next instruction is transferred (see table 23, instruction list). if the next instruction is transferred during execution of the current instruction, the next instruction will be ignored. note that the display-clear instruction alone requires longer execution time than the others. table 26 start byte of clock-synchronized serial interface data s bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 bit 8 transfer start 0 1 1 1 0 id0 rs r/w note: bits 1 to 6 indicate the device id code. table 27 rs and r/w bit function of clock-synchronized serial interface data rs r/w function 0 0 writes instruction 0 1 reads key scan data and bf flag 1 0 writes ram data 1 1 reads ram data
hd66727 50 start byte instruction 1 execution time scl (input) sda (input/ output) b) consecutive data-transfer timing through clock-synchronized serial bus interface 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 instruction 1 instruction 2 20 21 22 23 24 25 26 27 28 29 30 31 32 instruction 2 execution time instruction 3 start end adjust the transfer rate so that the hd66727 can complete instruction 1 before the 8th bit of instruction 2 is transferred. cs* (input) 1 transfer start a) basic data-transfer timing through clock-synchronized serial bus interface cs* (input) scl (input) sda (input/ output) 2 3 4 5 6 7 8 9 10 11 12 13 14 15 "0" "1" "1" "1" "0" id0 rs r/w rs r/w db6 db5 db4 db3 db2 db1 db0 db7 16 transfer end device id code instruction, ram data, key-scanned data start byte msb lsb figure 24 clock-synchronized serial interface timing sequence
hd66727 51 key scan control key scan mechanism the key matrix scanner senses and holds the key states at each rising edge of the key strobe signals (kst) that are output by the hd66727. the key strobe signals are output as time-multiplexed signals from kst0 to kst7. after passing through the key matrix, these strobe signals are used to sample the key state on four inputs kin0 to kin3, enabling up to 32 keys to be scanned (figure 25). the states of inputs kin0 to kin3 are sampled by key strobe signal kst0 and latched into the scan0 register. similarly, the data sampled by strobe signals kst1 to kst7 is latched into the scan1 to scan7 registers, respectively (figure 26). key pressing is stored as 1 in these registers. the generation cycle and pulse width of the key strobe signals depend on the operating frequency (oscillation frequency) of the hd66727, the display line determined by the nl1 bit, and the key scan cycle determined by the kf0 and kf1 bits. for example, when the operating frequency is 160 khz, nl1 is 1, and kf0 and kf1 are both 0, the generation cycle is 8.0 ms and the pulse width is 1.0 ms (figure 27). when the operating frequency (oscillation frequency) is changed, the above generation cycle and the pulse width are also changed in inverse proportion (table 28). key matrix detail ke y state input kst7 kst6 kst5 kst4 kst3 kst2 kst1 kst0 kin0 kin1 kin2 kin3 d23 d22 d21 d20 d33 d32 d31 d30 d03 d02 d01 d00 d13 d12 d11 d10 d43 d42 d41 d40 d53 d52 d51 d50 d63 d62 d61 d60 d73 d72 d71 d70 hd66727 key strobe figure 25 key scan configuration
hd66727 52 scan0 d03 d02 d01 d00 (kst0 ) kin3 kin2 kin1 kin0 scan1 d13 d12 d11 d10 (kst1 ) scan2 d23 d22 d21 d20 (kst2 ) scan3 d33 d32 d31 d30 (kst3 ) scan4 d43 d42 d41 d40 (kst4 ) scan5 d53 d52 d51 d50 (kst5 ) scan6 d63 d62 d61 d60 (kst6 ) scan7 d73 d72 d71 d70 (kst7 ) figure 26 key scan register configuration 8.0 ms key scan cycle 1.0 ms kst0 kst1 kst2 kst3 kst4 kst5 kst6 kst7 figure 27 key strobe output timing (nl1 = 1, kf1/0 = 10, fcp/fosc = 160 khz)
hd66727 53 table 28 key scan cycles for each operating frequency register key scan cycle nl1 kf1 kf0 clock cycle 160 khz 120 khz 80 khz 40 khz 0 (1, 2 lines) 0 0 160 (1.0 ms)* (1.3 ms)* 2.0 ms 4.0 ms 0 (1, 2 lines) 0 1 320 (2.0 ms)* (2.7 ms)* 4.0 ms 8.0 ms 0 (1, 2 lines) 1 0 640 (4.0 ms)* (5.3 ms)* 8.0 ms 16.0 ms 0 (1, 2 lines) 1 1 1,280 (8.0 ms)* (10.7 ms)* 16.0 ms 32.0 ms 1 (3, 4 lines) 0 0 320 2.0 ms 2.7 ms (4.0 ms)* (8.0ms)* 1 (3, 4 lines) 0 1 640 4.0 ms 5.3 ms (8.0ms)* (16.0ms)* 1 (3, 4 lines) 1 0 1,280 8.0 ms 10.7 ms (16.0 ms)* (32.0ms)* 1 (3, 4 lines) 1 1 2,560 16.0 ms 21.3 ms (32.0 ms)* (64.0ms)* note: * reference value in order to compensate for the mechanical features of the keys, such as chattering and noise and for the key-strobe generation cycle and the pulse width of the hd66727, software should read the scanned data two or three times in succession to obtain valid data. multiple keypress combinations should also be processed in software. up to three keys can be pressed simultaneously. note, however, that if the third key is pressed on an intersection between the rows and columns of the first two keys pressed, incorrect data will be sampled. for three-key input, the third key must be on a separate column and row. the input pins kin0 to kin3 are pulled up to v cc with internal mos transistors (see the electrical characteristics section). external resistors may also be required to further pull up the voltages when the internal pull-ups are insufficient for the desired noise margins or for a large key matrix. key scan data transfer the key-scanned data can be read by an mpu via a serial interface as shown in figure 28. first, a start byte should be transferred. after the hd66727 has received the start byte, the mpu reads scan data sd0 to sd3 from the scan0 register starting from the msb. similarly, the mpu reads data from scan1, scan2, scan3, scan4, scan5, scan6, and scan7 in that order. after reading scan7, the mpu starts at scan0 again. while reading the scanned data, the mpu also reads the scan flags (sf1 and sf0) and the transfer flag (tf). the scan flags reflect the value of the scan cycle counter, which automatically increments its value by one for each scan cycle from 00 to 11 (after 11, it is reset to 00). if the scan data is read more than once to be confirmed, and the corresponding scan counter values are the same, the scan data might have been erroneously latched into the scan register at the same timing; it should be reconfirmed as required. also, if the transfer flag is read as 1, the hd66727 has been read out while it is latching scan data and is thus unstable; it should also be reconfirmed as required.
hd66727 54 c) consecutive scan data read timing a) scan data read timing through clock-synchronized serial bus interface 12345678910111213141516 r/w rs 0 1 1 1 0 id0 start byte device id code scl (input) sda (input/ output) cs* (input) wait start byte scl (input) sda (input/ output) scan0 data scan1 data scan2 data scan3 data scan7 data wait wait wait scan0 data wait scan0 data transmission bf sd0 busy sf1 sf0 tf sd3 sd2 sd1 bf sd0 sf1 sf0 tf sd3 sd2 sd1 scan flag r/w rs transfer start transfer end 0 1 1 1 id1 id0 b) scan data read timing through i2c bus interface 123456789101112131415 18 r/w rs 1st byte scl (input) sda (input/ output) scan0 data transmission 16 17 ack ack transfer end transfer start acknowledge acknowledge busy scan data device id code scan flag r/w rs scan data figure 28 scan data serial transfer timing
hd66727 55 key scan interrupt (wake-up function) if the interrupt enable bit (ire) is set to 1, the hd66727 sends an interrupt signal to the mpu on detecting that a key has been pressed in the key scan circuit by setting the irq* output pin to a low level. an interrupt signal can be generated by pressing any key in a 32-key matrix. the interrupt level continues to be output during the key scan cycle in which the key is being pressed. see figure 29. normal key scanning is performed and interrupts can occur in the hd66727 sleep mode (slp = 1). accordingly, power consumption can be minimized in the sleep mode, where only annunciators can be displayed, by triggering the mpu to read key states via the interrupt generated only when the hd66727 detects a key input from the 32-key matrix. for details, refer to the sleep mode section. on the other hand, normal key scanning and the internal operating clock are halted in the standby mode (stb = 1). during this period, the kst0 output is kept low, so the hd66727 can always sense four key inputs d00 to d03, connected with kin0 to kin3, respectively. therefore, if any of the four keys is pressed in the standby mode, an interrupt occurs. accordingly, power consumption can be further minimized in the standby mode, where the whole system is inactive, by triggering the mpu via the interrupt generated only when the hd66727 detects a key input from the above four keys. note that the interrupt generated in the standby mode automatically starts internal r-c oscillation. for details, refer to the standby mode section. the irq* output pin is pulled up to the v cc with an internal mos resistor of approximately 50 k w ; additional external resistors may be required to obtain stronger pull-ups. interrupts may occur if noise occurs in kin input during key scanning. interrupts must be inhibited if not needed by setting the interrupt enable bit (ire) to 0. figure 30 shows key scan interrupt processing flow in sleep and standby modes. irq * interrupt generated hd66727 irq * v cc mpu figure 29 interrupt generation
hd66727 56 standby mode mask interrupts (ire = 0) wait 10 ms or longer (mpu) start r-c oscillator (hd66727) clear standby mode (stb = 0) turn off lcd power (amp = 0) set standby mode (stb = 1) generate interrupt (hd66727 read key-scanned data enable interrupts (ire = 1) turn off lcd power (amp = 0) set sleep mode (slp = 1) key input (key ? hd66727) generate interrupt (hd66727 ? mpu) sleep mode mask interrupts (ire = 0) read key-scanned data enable interrupts (ire = 1) ? hd66727) key input (key ? mpu) (1) sleep mode (2) standby mode figure 30 key scan interrupt processing flow in sleep and standby modes
hd66727 57 oscillator circuit the hd66727 can either be supplied with operating clock pulses externally (external clock mode) or oscillate using an internal r-c oscillator and an external oscillator-resistor (internal oscillation mode), as shown in figure 31. an appropriate oscillator-resistor must be used to obtain the optimum clock frequency according to the number of display lines (table 29). instruction execution times change in proportion to the operating clock frequency or r-c oscillation frequency; mpu data transfer rate must be appropriately adjusted (see table 23, instruction list). figure 32 shows a sample lcd drive output waveform, where 4- lines are displayed with 1/34 multiplexing duty ratio. osc1 osc1 osc2 clock rf the oscillator frequency can be adjusted by oscillator resistance (rf). if rf is increased or power supply voltage is decreased, the oscillator frequency decreases. hd66727 1) when an external clock is used 2) when an internal oscillator is used hd66727 figure 31 oscillator circuit table 29 oscillation frequency and lcd frame frequency item 1-line display (nl1, nl0 = 00) 2-line display (nl1, nl0 = 01) 3-line display (nl1, nl0 = 10) 4-line display (nl1, nl0 = 11) multiplexing duty ratio 1/10 1/18 1/26 1/34 r-c oscillation frequency (recommended value) 40 khz 80 khz 120 khz 160 khz 1-line drive frequency 0.66 khz 1.3 khz 2.0 khz 2.7 khz frame frequency 67 hz 74 hz 77 hz 78 hz
hd66727 58 1 234 33 34 123 33 34 v cc v1 v4 v5 com1 1-line selection period v1 v4 v5 com2 1 frame v cc v1 v4 v5 coms2 v cc v1 v4 v5 coms1 v cc 1 frame figure 32 lcd drive output waveform example (4-line display with 1/34 multiplexing duty ratio)
hd66727 59 power supply for liquid crystal display drive when external power supply and internal operational amplifiers are used to supply lcd drive voltage directly from the external power supply without using the internal booster, circuits should be connected as shown in figure 33. here, contrast can be adjusted through the ct bits of the contrast control instruction. the hd66727 incorporates a voltage-follower operational amplifier for each of v1 to v5 to reduce current flowing through the internal bleeder-resistors, which generate different levels of liquid-crystal drive voltages. thus, potential differences between v cc and v1 and between v ee and v5 must be 0.4v or greater. note that the opoff pin must be grounded when using the operational amplifiers.
hd66727 60 v cc v2 v3 v cc r v1 v2 v3 v4 v5 r r r r v ee vr - + - + - + - + r seg1?eg60 com1?om32 coms1?oms2 gnd agnd open aseg1?seg12 acom - + v ee hd66727 opoff = gnd a) 3- or 4-line display with 1/6 bias b) 1- or 2-line display with 1/4 bias notes: 1. potential differences between v cc and v1 and between v5 and v ee must be 0.4v or greater, particularly for low-duty drive such as 1-line display. 2. when the internal operational amplifiers cannot fully drive the lcd panel used, an appropriate capacitor must be inserted between each output of v1out to v5out and v cc to stabilize the operational amplifier output. v cc v2 v3 v cc r r r r r v ee vr - + - + - + - + r seg1?eg60 com1?om16 coms1?oms2 gnd agnd aseg1?seg12 acom short-circuited - + v ee hd66727 opoff = gnd lcd multiplexing driver lcd static driver lcd multiplexing driver lcd static driver v1 v2 v3 v4 v5 figure 33 external power supply circuit example for lcd drive voltage generation
hd66727 61 when an internal booster and internal operational amplifiers are used to supply lcd drive voltage using the internal booster, circuits should be connected as shown in figure 34. here, contrast can be adjusted through the ct bits of the contrast control instruction. temperature can be compensated either through the ct bits or by controlling the reference voltage for the booster (vci pin) using a thermistor. note that vci is both a reference voltage and power supply for the booster; the reference voltage must therefore be adjusted using an emitter-follower or a similar element so that sufficient current can be supplied. in this case, vci must be equal to or smaller than the v cc level. the hd66727 incorporates a voltage-follower operational amplifier for each of v1 to v5 to reduce current flowing through the internal bleeder-resistors, which generate different levels of liquid-crystal drive voltages. thus, potential differences between v cc and v1 and between v ee and v5 must be 0.4v or greater. note that the opoff pin must be grounded when using the operational amplifiers.
hd66727 62 short-circuited for 1-or 2-line display b) triple boosting c1 c2 vci v5out2 v5out3 + gnd + v cc v2 v3 v cc r v1 v2 v3 v4 v5 r r r r vr + + + + r + v ee booster gnd + opof = gnd 0.47 m f to 1 m f 0.47 m f to 1 m f hd66727 notes: 1. the reference voltage input (vci) must be adjusted so that the output voltage after boosting will not exceed the absolute maximum rating of the liquid-crystal power supply voltage (15v). particularly, vci must be 5v or less for triple boosting. 2. vci is both a reference voltage and power supply for the booster; connect it to v cc directly or combine it with a transistor so that sufficient current can be obtained. 3. vci must be smaller than v cc . 4. to operate the voltage-follower correctly, potential differences between v cc and v1 and between v5 and v ee must be 0.4v or greater, particularly for low-duty drive such as 1-line display. 5. polarized capacitors must be connected correclty. 6. circuits for temperature compensation should be designed based on the sample circuit shown in figure 35. 7. the hd66727's internal operational amplifiers have a reduced drive current to save current consumption; when the internal operational amplifiers cannot fully drive the lcd panel used, an appropriate capacitor must be inserted between each output of v1out to v5out and v cc to stabilize the operational amplifier output (figure 36). a) double boosting c1 c2 vci v5out2 v5out3 + gnd + v cc v2 v3 v cc r r r r r vr r v ee short-circuited for 1-or 2-line display opoff = gnd - + - + - + - + - + c1 c2 vci v5out2 v5out3 + gnd + v2 v3 v r r r r r vr r booster 0.47 m f to 1 m f 0.47 m f to 1 m f hd66727 + + + + + v1 v2 v3 v4 v5 figure 34 internal power supply circuit example for lcd drive voltage generation v cc thermistor gnd tr v cc vci hd66727 figure 35 temperature compensation circuit example
hd66727 63 example of using internal operational amplifier when driving large size of lcd the driving current of the internal operational amplifier in the hd66727 is reduced to control the consumption current. when load current is apparently large such as when driving large size of lcd panel, insert a capacitor between v1out?5out outputs and v cc power supply, and stabilize the output level of the operational amplifier. especially the capacitors for v1out and v4out must be inserted when 1/26 duty or 1/34 duty drives. c1 c2 vci v5out2 v5out3 + gnd + v cc v2 v3 v cc r r r r vr + + + + + v ee booster + 0.47 m f to 1 m f 0.47 m f to 1 m f 0.47 m f to 1 m f opoff = gnd large size of lcd panel v5out3 v2 r r gnd + hd66727 v1out + v2out v3out v4out v5out + + + + seg1?eg60 com1?om16 coms1?oms2 lcd multiplexing driver v cc v1 v2 v3 v4 v5 note : the capacitors for v1out and v4out must be inserted when 1/26 duty or 1/34 duty drives. 0.1 f to 0.5 f* figure 36 operational amplifier output stabilization circuit example when driving large size of lcd panel
hd66727 64 lcd driving current (i ee ) * 2 when 1/10, 1/18-duty drive (1 line, 2 lines) when 1/26, 1/34-duty drive (3 lines, 4 lines) when i ee 15 m a capacitors for v1out to v5out must be inserted. capacitors for v1out to v5out must be inserted. when 15 m a i ee 40 m a capacitors for v1out and v4out must be inserted. capacitors for v1out and v4out must be inserted. when i ee 3 40 m a capacitors for v1out and v4out may be inserted after confirming the display quality. and additional capacitors for other vnouts may be inserted after confirming the display quality. notes: 1. these relationships between lcd driving current (i ee ) and the external capacitors are applied to designing lcm, but they cannot guarantee the practical display quality. this display quality depends on lcd panel size and lcd material used, and it must be checked and confirmed with your lcd panel. 2. these lcd driving currents (i ee ) depend on the lcd driving voltage between v cc and v ee , and setting of vref, vrefp and vrefp pins. 3. especially the capacitors for v1out and v4out are most efficient for display quality. 4. this condition is an example when the frame frequency is 60hz to 100hz. if higher frame frequency is used, these external capacitors should be enhanced to prevent the cross-talk.
hd66727 65 when an internal booster and external bleeder-resistors are used when the internal operational amplifiers cannot fully drive the lcd panel used, v1 to v5 voltages can be supplied through external bleeder-resistors (figure 37). here, the opoff pin must be set to the v cc level to turn off the internal operational amplifiers. since the internal contrast adjuster is disabled in this case, contrast must be adjusted externally. double- and triple-boosters can be used as they are. c1 c2 vci v5out2 v5out3 + gnd + v cc v1out v2out v3out v4out v5out v cc notes: 1. resistance of each external bleeder resistor should be 5 k w to 15 k w . 2. the bias current value for driving liquid-crystals can be varied by adjusting the resistance (2r) between the v2out and v3out pins. 3. the internal contrast-adjuster is disabled; contrast must be adjusted either by controlling the external variable resistor between v ee and v5out or vci for the booster. 4. vci is both a reference voltage and power supply for the booster; connect it to v cc directly or combine it with a transistor so that sufficient current can be obtained. 5. vci must be smaller than v cc . + + + + + v ee booster gnd + 0.47 m f to 1 m f 0.47 m f to 1 m f 0.47 m f to 1 m f hd66727 opoff = v cc r r r r vr 2r v cc v1 v2 v3 v4 v5 figure 37 power supply circuit example using external bleeder-resistor for lcd drive voltage generation
hd66727 66 contrast adjuster multiplexing drive system contrast for an lcd controlled by the multiplexing drive method can be adjusted by varying the liquid- crystal drive voltage (potential difference between v cc and v5) through the ct bits of the contrast control instruction (electron volume function). see figure 38 and table 30. the value of a variable resistor (vr) can be adjusted within the range from 0.4 x r through 6.4 x r, where r is a reference resistance obtained by dividing the total resistance between v cc and v5. the hd66727 incorporates a voltage-follower operational amplifier for each of v1 to v5 to reduce current flowing through the internal bleeder-resistors, which generate different levels of liquid-crystal drive voltages. thus, potential differences between v cc and v1 and between v ee and v5 must be 0.4v or greater. note that the opoff pin must be grounded when using the operational amplifiers. 1/6 bias (v2 and v3 pins left open): lcd drive voltage vlcd: 6r (v cc ?v ee )/(6r + vr) (vr = a value within the range from 0.4r to 6.4r) vlcd adjustable range: 0.484 (v cc ?v ee ) vlcd 0.938 (v cc ?v ee ) potential difference between v cc and v1: r (v cc ?v ee )/(6r + vr) 3 0.4 (v) potential difference between v5 and v ee : vr (v cc ?v ee )/(6r + vr) 3 0.4 (v) 1/4 bias (v2 and v3 pins short-circuited): lcd drive voltage vlcd: 4r (v cc ?v ee )/(4r + vr) (vr = a value within the range from 0.4r to 6.4r) vlcd adjustable range: 0.385 (v cc ?v ee ) vlcd 0.909 (v cc ?v ee ) potential difference between v cc and v1: r (v cc ?v ee )/(4r + vr) 3 0.4 (v) potential difference between v5 and v ee : vr (v cc ?v ee )/(4r + vr) 3 0.4 (v)
hd66727 67 v cc v cc v2 v3 r v1 ct v2 v3 v4 v5 r r r r vr + + + + r + v ee hd66727 figure 38 contrast adjuster table 30 contrast-adjust bits (ct) and variable resistor values ct3 ct2 ct1 ct0 variable resistor value (vr) 0000 6.4 r 0001 6.0 r 0010 5.6 r 0011 5.2 r 0100 4.8 r 0101 4.4 r 0110 4.0 r 0111 3.6 r 1000 3.2 r 1001 2.8 r 1010 2.4 r 1011 2.0 r 1100 1.6 r 1101 1.2 r 1110 0.8 r 1111 0.4 r static drive system contrast for a statically-driven lcd, that is, annunciator display, can be adjusted through the agnd pin. the annunciators are driven statically by the potential difference between v cc and agnd. the agnd pin level must be equal to or greater than the gnd level.
hd66727 68 lcd panel interface the hd66727 can change the shift direction of common drivers com1?om32 and coms1 and coms2 and segment drivers seg1?eg60 with the cms and sgs bits. these bits can be selected according to the mounting method such as the chip arrangement or wire leading. however, the output position of annunciator drivers aseg1?seg12 cannot be changed, so adjust it by software. hitachi ltd. new hd66727 lcd controll with keyscan front of chip com32/1 com16/17 seg60/1 com1/32 hitachi ltd. new hd66727 lcd controll with keyscan back of chip com16/17 com32/1 seg1/60 com17/16 b) back of chip(cms = "1" sgs = "0") a) front of chip (cms = "1" sgs = "1") hitachi ltd. new hd66727 lcd controll with keyscan front of chip com16/17 com17/16 seg1/60 com32/1 hitachi ltd. new hd66727 lcd controll with keyscan back of chip com32/1 com1/32 seg60/1 com16/17 b) back of chip(cms = "0" sgs = "1") a) front of chip(cms = "0" sgs = "0") figure 39 lcd module interface examples
hd66727 69 segment display and annunciator display the hd66727 provides both segment display, which is driven by the multiplexing method, and annunciator display, which is driven statically. annunciator display is driven at a logic operating voltage (v cc agnd) and is thus also available while the lcd drive power supply is turned off. accordingly, annunciator display is suitable for displaying marks during system standby, when it is desirable to reduce current consumption. it is available in the sleep mode, where internal multiplexing operations for character or segment display are halted. if an alternating signal is supplied to the exm pin, it is also available in the standby mode, where the internal r-c oscillator is halted. here, agnd must be equal to or above the gnd level. note that annunciator display cannot share character display drivers seg and com but require special drivers aseg and acom that require long routing. tables 31 to 34 compare segment display to annunciator display. figure 40 shows annunciator drive output waveforms in two modes. table 31 comparison between segment display and annunciator display item segment display annunciator display number of driven elements 40 each by 5-dot font width 48 each by 6-dot font width 12 blinking impossible possible segment drivers seg1?eg60 (shared with character display) aseg1?seg12 (independent of character display) common drivers coms1, coms2 acom lcd power supply v cc ?v5 (lcd power supply necessary) v cc ?agnd (lcd power supply unnecessary) normal mode display possible together with character display by multiplexing drive possible by static drive sleep mode display impossible (seg and com output v cc ) possible by static drive standby mode display (without oscillation) impossible (seg and com output v cc ) possible by supplying alternating signal to the exm pin
hd66727 70 table 32 correspondence between segment display segram addresses (aseg) and driver signals when 5-dot font width aseg address common segment signal msb lsb signal bit 4 bit 3 bit 2 bit 1 bit 0 1000 coms1 seg1/21/41 seg2/22/42 seg3/23/43 seg4/24/44 seg5/25/45 1001 coms1 seg6/26/46 seg7/27/47 seg8/28/48 seg9/29/49 seg10/30/50 1010 coms1 seg11/31/51 seg12/32/52 seg13/33/53 seg14/34/54 seg15/35/55 1011 coms1 seg16/36/56 seg17/37/57 seg18/38/58 seg19/39/59 seg20/40/60 1100 coms2 seg1/21/41 seg2/22/42 seg3/23/43 seg4/24/44 seg5/25/45 1101 coms2 seg6/26/46 seg7/27/47 seg8/28/48 seg9/29/49 seg10/30/50 1110 coms2 seg11/31/51 seg12/32/52 seg13/33/53 seg14/34/54 seg15/35/55 1111 coms2 seg16/36/56 seg17/37/57 seg18/38/58 seg19/39/59 seg20/40/60 table 33 correspondence between segment display segram addresses (aseg) and driver signals when 6-dot font width aseg address common segment signal msb lsb signal bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 1 0 0 0 coms1 * * seg1/25/ 49 seg2/26/ 50 seg3/27/ 51 seg4/28/ 52 seg5/29/ 53 seg6/30/ 54 1 0 0 1 coms1 * * seg7/31/ 55 seg8/32/ 56 seg9/33/ 57 seg10/ 34/58 seg11/ 35/59 seg12/ 36/60 1 0 1 0 coms1 * * seg13/ 37 seg14/ 38 seg15/ 39 seg16/ 40 seg17/ 41 seg18/ 42 1 0 1 1 coms1 * * seg19/ 43 seg20/ 44 seg21/ 45 seg22/ 46 seg23/ 47 seg24/ 48 1 1 0 0 coms2 * * seg1/25/ 49 seg2/26/ 50 seg3/27/ 51 seg4/28/ 52 seg5/29/ 53 seg6/30/ 54 1 1 0 1 coms2 * * seg7/31/ 55 seg8/32/ 56 seg9/33/ 57 seg10/ 34/58 seg11/ 35/59 seg12/ 36/60 1 1 1 0 coms2 * * seg13/ 37 seg14/ 38 seg15/ 39 seg16/ 40 seg17/ 41 seg18/ 42 1 1 1 1 coms2 * * seg19/ 43 seg20/ 44 seg21/ 45 seg22/ 46 seg23/ 47 seg24/ 48
hd66727 71 table 34 correspondence between annunciator display addresses (aan) and driver signals aan address segment signal msb lsb common signal bits 7, 6 bits 5, 4 bits 3, 2 bits 1, 0 0 0 0 0 acom aseg1 aseg2 aseg3 aseg4 0 0 0 1 acom aseg5 aseg6 aseg7 aseg8 0 0 1 0 acom aseg9 aseg10 aseg11 aseg12 note: the annunciator is turned on when the corresponding even bit (bit 6, 4, 2, or 0) is 1, and the turned- on annunciator blinks when the corresponding odd bit (bit 7, 5, 3, or 1) is 1. i) normal mode and sleep mode ii) standby mode (without oscillation) v cc level v cc level v cc level agnd level agnd level agnd level agnd level agnd level v cc level v cc level v cc level v cc level display off display on 1 frame acom aseg1 aseg2 exm (input) v cc level v cc level v cc level agnd level agnd level agnd level v cc level v cc level v cc level acom aseg1 aseg2 display off display on 1 frame note: if annunciator display is unnecessary during standby mode, make sure to fix the exm pin to the v cc or gnd level and set the annunciator display on bit (da) to 0. this will prevent dark display and liquid-cell deterioration due to dc bias application on liquid crystal cells. figure 40 annunciator drive output waveforms
hd66727 72 vertical smooth scroll the hd66727 can scroll in the vertical direction in units of raster-rows. this function is achieved by writing character codes into ddram area that is not being used for display. in other words, since ddram corresponds to a 5-line 12-character display, one of the lines can be used to achieve continuous smooth vertical scroll even in a 4-line display. here, after the fifth line is displayed, the first line is displayed again. specifically, this function is controlled by incrementing or decrementing the value in the display-start line bits (sl2 to sl0) and display-start raster-row bits (sn2 to sn0) by 1. for example, to smoothly scroll up, first set sn2 to sn0 to 000, and increment sl2 to sl0 by 1 from 000 to 111 to scroll seven raster-rows. then increment sn2 to sn0 to 001, and again increment sl2 to sl0 by 1 from 000 to 111. to start displaying and scrolling from the first raster-row of the second line, update the first line of ddram data as desired during its non-display period. figure 41 shows an example of vertical smooth scrolling and figure 42 shows an example of setting instructions for vertically scrolling upward in a 4-line display (nl1 and nl0 = 11).
hd66727 73 update the first line of ddram data 9) 8 raster-rows scrolled up ?sn2?n0 = 001 ?sl2?l0 = 000 set initial data to all ddram addresses 1) not scrolled ?sn2? = 000 ?sl2? = 000 2) 1 raster-rows scrolled up ?sl2?l0 = 001 3) 2 raster-rows scrolled up ?sl2?l0 = 010 4) 3 raster-rows scrolled up ?sl2?l0 = 011 5) 4 raster-rows scrolled up ?sl2?l0 = 100 6) 5 raster-rows scrolled up ?sl2?l0 = 101 7) 6 raster-rows scrolled up ?sl2?l0 = 110 10) 9 raster-rows scrolled up ?sl2?l0 = 001 11) 10 raster-rows scrolled up ?sl2?l0 = 010 12) 11 raster-rows scrolled up ?sl2?l0 = 011 13) 12 raster-rows scrolled up ?sl2?l0 = 100 14) 13 raster-rows scrolled up ?sl2?l0 = 101 15) 14 raster-rows scrolled up ?sl2?l0 = 110 16) 15 raster-rows scrolled up ?sl2?l0 = 111 8) 7 raster-rows scrolled up ?sl2?l0 = 111 figure 41 example of vertical smooth scrolling
hd66727 74 db7 db6 db5 db4 db3 db2 db1 db0 r/w rs 0000 1 0ct sn2= 0 0001 00 sn1/0 = 00 and sl2?l0 = 000 (1st raster-row of 1st line displayed at the top) 0 0 1 cpu wait scroll up 1 raster-row (2nd raster-row of 1st line displayed at the top) 0 0001 01 0 0 1 0 cpu wait scroll up 2 raster-rows (3rd raster-row of 1st line displayed at the top) 0001 10 0 0 1 0 cpu wait scroll up 3 raster-rows (4th raster-row of 1st line displayed at the top) 0001 11 0 0 1 0 cpu wait scroll up 4 raster-rows (5th raster-row of 1st line displayed at the top)) 0001 00 1 0 1 0 cpu wait scroll up 7 raster-rows (8th raster-row of 1st line displayed at the top) 0001 11 1 1 0 cpu wait scroll up 8 raster-rows (1st raster-row of 2nd line displayed at the top) (while 1st line is not being displayed but 2nd to 5th lines are being displayed) (while 2nd line is not being displayed but 1st and 3rd to 5th lines are being displayed) 0001 00 0 1 1 0 cpu wait scroll up 9 raster-rows (2nd raster-row of 2nd line displayed at the top) 0001 01 0 1 1 0 cpu wait scroll up 15 raster-rows (8th raster-row of 2nd line displayed at the top) 0001 11 1 1 1 0 cpu wait scroll up 16 raster-rows (1st raster-row of 3rd line displayed at the top) 0001 00 0 0 1 1 cpu wait scroll up 17 raster-rows (2nd raster-row of 3rd line displayed at the top) 0001 01 0 0 1 1 scroll up display set initial character codes of 5 lines to all ddram addresses update 1st-line (address 00h to 1bh) character codes in ddram update 2nd-line (address 10h to 1bh) character codes in ddram 0 figure 42 example of setting instructions for vertical smooth scroll (4-line display (nl1 and nl0 = 11))
hd66727 75 line-cursor display the hd66727 can assign a cursor attribute to an entire line corresponding to the address counter value by setting the lc bit to 1 (table 35). one of three line-cursor modes can be selected: a black-white inverting blink cursor (b/w = 1), an underline cursor (c = 1), and a blink cursor (b = 1). the blink cycle for a black- white inverting cursor and for a blink cursor is 32 frames. these line-cursors are suitable for highlighting an index and/or marker, and for indicating an item in a menu with a cursor or an underline. figures 43 to 45 show three line-cursor examples. table 35 address counter value and line-cursor address counter value (ac) selected line for line-cursor ?0? to ?b? entire 1st line (12 characters) ?0? to ?b? entire 2nd line (12 characters) ?0? to ?b? entire 3rd line (12 characters) ?0? to ?b? entire 4th line (12 characters) ?0? to ?b? entire 5th line (12 characters)
hd66727 76 alternates every 32 frames figure 43 example of black-white inverting blink cursor (lc = 1; b/w = 1)
hd66727 77 figure 44 example of underline cursor (lc = 1; c = 1)
hd66727 78 alternates every 32 frames figure 45 example of blink cursor (lc = 1; b = 1)
hd66727 79 double-height display the hd66727 can double the height of any desired line from the first to third lines. a line can be selected by the dl3 to dl1 bits as listed in table 36. all the standard font characters stored in the cgrom and cgram can be doubled in height, providing an easy-to-see display. note that there should be no space between lines for double-height display (figure 46). table 36 double-height display specifications dl3 dl2 dl1 2-line display (nl1, nl0 = 01) 3-line display (nl1, nl0 = 10) 4-line display (nl1, nl0 = 11) 0 0 0 1st & 2nd lines: normal 1st to 3rd lines: normal 1st to 4th lines: normal 0 0 1 1st line: double-height 1st line: double-height 2nd line: normal 1st line: double-height 2nd & 3rd lines: normal 0 1 0 disabled 2nd line: double-height 1st line: normal 2nd line: double-height 1st & 3rd lines: normal 0 1 1 1st line: double-height disabled 1st & 2nd lines: double-height 1 0 0 1st & 2nd lines: normal disabled 3rd line: double-height 1st & 2nd lines: normal 1 0 1 1st line: double-height 1st line: double-height 2nd line: normal disabled 1 1 0 disabled 2nd line: double-height 1st line: normal disabled 1 1 1 1st line: double-height disabled 1st & 2nd lines: double-height
hd66727 80 i) 3-line display example (dl1 = 0, dl2 = 1) ii) 4-line display example (dl = 1, dl2 = 0, dl3 = 0) 1st line: normal display 2nd line: double-height display 1st line: double-height display 2nd line: normal display 3rd line: normal display figure 46 double-height display examples
hd66727 81 double-width display when the font width bit (fw) is set, the width is 5 dots or 6 dots. when fw = 0, the font width is 5 dots and can be displayed horizontally up to 12 digits. however, the spaces between characters should hold the ito wiring on the lcd glass. when fw = 1, the font width is 6 dots and can be displayed horizontally up to 10 digits. however, when displaying double-width characters with the font in the cgrom, a special double-width font is needed. in that case, a custom rom is used. double-height characters can be displayed by setting the register in combination with the above double- width display. note: this display can be performed with the custom cgrom. figure 47 triple-width display examples
hd66727 82 led/back light control the hd66727 has three led ports to control the led and back light, which need current driving, and three general ports, which do not need current driving. however, the sink current in the led port output is up to 3 ma. if the back light or led needs more current, increase the current width with the transistor. table 37 led driving and general output port aan address led driving/general output port msb lsb bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 1 1 * * port2 port1 port0 led2 led1 led0 hd66727 v cc led0 led1 led2 port0 port1 port2 led display back light gnd figure 48 led driving control circuit examples
hd66727 83 partial-display-off function the hd66727 can program the number of display lines (nl bits), divide the internal operating frequency by four (osc bit), and adjust the display contrast (ct bits). combining these functions, the hd66727 can turn off the second and/or subsequent lines, displaying only the characters in the first line to reduce internal current consumption (partial-display-off function). this function is suitable for calendar or time display, which needs to be continuous during system standby with minimal current consumption. here, the second to fourth non-displayed lines are constantly driven by the deselection level voltage, thus turning off the lcd for the lines. note that internal clock frequency is reduced to a quarter, quadrupling execution time of each instruction; mpu data transfer rate must be appropriately adjusted. moreover, as being affected by the nl1 bit and the osc1 bit, the key-scan cycle for partial-display-off is not the same as that for normal display. adjust the key-scan cycle by the kf1 and kf0 bits. table 38 lists partial-display-off function specifications and figure 49 shows a sample display using the partial-display-off function table 38 partial-display-off function function item normal 4-line display partially-off display character display 1st to 4th lines displayed only 1st line displayed segment display possible possible annunciator display possible possible r-c oscillation frequency 160 khz 160 khz internal operating frequency 160 khz (osc = 0) 40 khz (osc = 1) lcd single-line drive frequency 2.7 khz (1/34 duty ratio) 0.7 khz (1/10 duty ratio) frame frequency 78 hz 66 hz key scan cycle 320 to 2,560 clock cycles (clock cycle = 1 / internal operating frequency) 160 to 1,280 clock cycles (clock cycle = 1 / internal operating frequency) note: select an optimum lcd drive voltage (between v cc and v5) for the multiplexing duty ratio used, using a reference voltage input pin (vci) for the booster or the contrast adjust bits (ct) .
hd66727 84 display available (driven with selection level) display available (driven with selection level) display unavailable (driven with deselection level) figure 49 example of partially-off display (date and time indicated)
hd66727 85 sleep mode setting the sleep mode bit (slp) to 1 puts the hd66727 in the sleep mode, where the device halts all the internal display operations except for annunciator display and key scan operations, thus reducing current consumption. specifically, character and segment displays, which are controlled by the multiplexing drive method, are completely halted. here, all the seg (seg1 to seg60) and com (com1 to com34) pins output the v cc level, resulting in no display. if the amp bit is set to 0 in the sleep mode, the lcd drive power supply can be turned off, reducing the total current consumption of the lcd module. annunciators can be normally displayed in the sleep mode. since they are driven at logic operating power supply voltage (v cc ?agnd), they are available even if the lcd power supply is turned off (amp = 0). this function allows time and alarm marker indication during system standby with reduced current consumption. during the sleep mode, no instructions can be accepted for character/segment display and neither ddram, cgram, nor segram can be accessed. the key scan circuit operates normally in the sleep mode, thus allowing normal key scan and key scan interrupt generation. all keys can be scanned while only displaying annunciators. for details, refer to the key scan control section. table 38 compares the functions of the sleep mode and standby mode. table 38 comparison of sleep mode and standby mode function sleep mode (slp = 1) standby mode (stb = 1) character display turned off turned off segment display turned off turned off annunciator display can be turned on can be turned on when an alternating signal is supplied to the exm pin r-c oscillation operates normally halted key scan can operate normally halted but irq* can be generated
hd66727 86 standby mode setting the standby mode bit (stb) to 1 puts the hd66727 in the standby mode, where the device stops completely, halting all internal operations including the r-c oscillator, thus further reducing current consumption compared to that in the sleep mode. specifically, character and segment displays, which are controlled by the multiplexing drive method, are completely halted. here, all the seg (seg1 to seg60) and com (com1 to com34) pins output the v cc level, resulting in no display. if the amp bit is set to 0 in the standby mode, the lcd drive power supply can be turned off. annunciators can be displayed simply by supplying an approximately 40-hz alternating signal for the lcd drive signals to the exm pin externally. if annunciator display is unnecessary during the standby mode, the exm pin must be fixed to the v cc or gnd level and the annunciator display on bit (da) set to 0. during the standby mode, no instructions can be accepted other than those for annunciator display, the start-oscillator instruction, and the key scan interrupt generation enable instruction. to cancel the standby mode, issue the start oscillator instruction to stabilize r-c oscillation before setting the stb bit to 0. although key scan is halted in the standby mode, the hd66727 can detect four key inputs connected with strobe signal kst0, thus generating the key scan interrupt (irq*). this means, the system can be activated from the completely inactive state. for details, refer to the key scan control section. figure 50 shows the procedure for setting and canceling the standby mode. turn off the lcd power supply: amp = 0 only for annunciator display; set the da bit to 0 when annunciator display is not necessary. set standby mode: stb = 1 supply an external alternating signal to the exm pin issue the start-oscillator instruction wait at least 10 ms cancel standby mode: stb = 0 turn on the lcd drive power supply: amp = 1 standby mode (only annunciator display is available) figure 50 procedure for setting and canceling standby mode
hd66727 87 absolute maximum ratings * item symbol unit value notes** power supply voltage (1) v cc v ?.3 to +7.0 1 power supply voltage (2) v cc ?v ee v ?.3 to +15.0 1, 2 input voltage vt v ?.3 to v cc + 0.3 1 operating temperature topr c ?0 to +75 storage temperature tstg c ?5 to +110 4 note: * if the lsi is used above these absolute maximum ratings, it may become permanently damaged. using the lsi within the following electrical characteristic limits is strongly recommended for normal operation. if these electrical characteristic conditions are also exceeded, the lsi will malfunction and cause poor reliability.
hd66727 88 dc characteristics (v cc = 2.4 to 5.5v, ta = ?0 to +75 c* 3 ) item symbol min typ max unit test condition notes input high voltage vih 0.7v cc ? cc v6 input low voltage vil ?.3 0.15v cc vv cc = 2.4 to 3.0v 6 input low voltage vil ?.3 0.6 v v cc = 3.0 to 5.5v 6 output high voltage (1) (sda pin) voh1 0.75v cc vi oh = ?.1 ma 7 output low voltage (1) (sda pin) vol1 0.2v cc vv cc = 2.4 to 4.5v, i ol = 0.4 ma 5 output low voltage (1) (sda pin) v ol1 0.4 v v cc = 4.5 to 5.5v, i ol = 1.0 ma 5 output high voltage (2) (kst0-7, irq* pins) voh2 0.7v cc vi oh = 0.5 m a, v cc = 3v 5 output low voltage (2) (kst0-7, irq* pins) vol2 0.2v cc vi ol = 0.1 ma 5 output high voltage (3) (led0? pins) voh3 0.75v cc vi oh = 0.1 ma 5 output low voltage (3) (led0? pins) vol3 0.2 1.0 v i ol = 3 ma v cc = 3v 5 output high voltage (4) (port0? pins) voh4 0.75v cc vi oh = 0.1 ma 5 output low voltage (4) (port0? pins) vol4 0.2v cc vi ol = 0.1 ma 5 driver on resistance (com pins) r com 2 20 k w id = 0.05 ma, vlcd = 4v 8 driver on resistance (seg pins) r seg 2 30 k w id = 0.05 ma, vlcd = 4v 8 i/o leakage current i li ? 1 m a vin = 0 to v cc 9 pull-up mos current 1 (kin0-3 pins) ?p1 1 10 40 m av cc = 3v, vin = 0v pull-up mos current 2 (reset* pins) ?p2 5 50 120 m av cc = 3v, vin = 0v current consumption during normal operation (v cc ?nd) i op ?060 m a r-c oscillation, v cc = 3v, f osc = 160 khz (1/34 duty) 10, 11 current consumption during sleep mode (v cc ?nd) i sl ?5 m a r-c oscillation, v cc = 3v, f osc = 160 khz (1/34 duty) 10, 11 current consumption during standby mode (v cc ?nd) i st 0.1 5 m a no r f oscillation, v cc = 3v, ta = 25 c 10, 11 note: for the numbered notes, refer to the electrical characteristics notes section following these tables.
hd66727 89 dc characteristics (v cc = 2.4 to 5.5v, ta = ?0 to +75 c* 3 ) (cont) item symbol min typ max unit test condition notes lcd drive power supply current (v cc ? ee ) i ee ?560 m av cc ?v ee = 7v, f osc = 160 khz 11 lcd drive voltage with 1/4 bias (v cc ? ee ) vlcd1 3.0 13.0 v v2?3 short-circuited 12 lcd drive voltage with 1/6 bias (v cc ? ee ) vlcd2 3.0 13.0 v v2?3 open 12 note: for the numbered notes, refer to the electrical characteristics notes section following these tables. booster characteristics item symbol min typ max unit test condition notes output voltage (v5out2 pin) vup2 8.0 8.8 v v cc = vci = 4.5v, i o = 0.1 ma, c = 1 m f, f osc = 160 khz, ta = 25 c 15 output voltage (v5out3 pin) vup3 7.0 7.9 v v cc = vci = 2.7v, i o = 0.1 ma, c = 1 m f, f osc = 160 khz, ta = 25 c 15 input voltage vci 1.0 5.0 v vci v cc 15 note: for the numbered notes, refer to the electrical characteristics notes section following these tables. ac characteristics (v cc = 2.4 to 5.5v, ta = ?0 to +75 c* 3 ) clock characteristics item symbol min typ max unit test condition notes external clock frequency f cp 20 160 350 khz 13 external clock duty ratio duty 45 50 55 % 13 external clock rise time t rcp 0.2 m s13 external clock fall time t fcp 0.2 m s13 internal rf oscillation frequency t osc 120 160 200 khz r f = 150 k w , v cc = 3v 14 note: for the numbered notes, refer to the electrical characteristics notes section following these tables.
hd66727 90 clock-synchronized serial interface timing item symbol min typ max unit test condition serial clock cycle time t scyc 120 m s figures 57 and 58 serial clock high-level width t sch 400 ns figures 57 and 58 serial clock low-level width t scl 400 ns figures 57 and 58 serial clock rise/fall time t scr , t scf 50 ns figures 57 and 58 chip select set-up time t csu 60 ns figures 57 and 58 chip select hold time t ch 200 ns figures 57 and 58 serial input data set-up time t sisu 200 ns figure 57 serial input data hold time t sih 200 ns figure 57 serial output data delay time t sod 400 ns figure 58 serial output data hold time t soh 0 ns figure 59 i 2 c bus interface timing item symbol min typ max unit test condition scl clock cycle time t scl 220 m s figure 59 scl clock high-level width t sclh 500 ns figure 59 scl clock low-level width t scll 1000 ns figure 59 scl/sda rise/fall time t sr , t sf 300 ns figure 59 bus free time t buf 140 ns v cc = 2.4?.5v bus free time t buf 100 ns v cc = 4.5?.5v start hold time t stah 500 ns figure 59 retransmit start set-up time t stas 500 ns figure 59 stop set-up time t stos 500 ns figure 59 sda data set-up time t sdas 140 ns v cc =2.4v?.5v sda data set-up time t sdas 100 ns v cc =4.5v?.5v sda data hold time t sdah 0 ns figure 59 reset timing item symbol min typ max unit test condition reset low-level width t res 10 ms figure 60
hd66727 91 electrical characteristics notes 1. all voltage values are referred to gnd = 0v. if the lsi is used above the absolute maximum ratings, it may become permanently damaged. using the lsi within the given electrical characteristic is strongly recommended to ensure normal operation. if these electrical characteristic are exceeded, the lsi may malfunction or exhibit poor reliability. 2. v cc > v1 3 v2 3 v3 3 v4 3 v5 > v ee must be maintained. 3. for bare die products, specified at 75 c. 4. for bare die products, specified by the common die shipment specification. 5. the following four circuits are i/o pin configurations except for liquid crystal display output (figure 51). pins: scl, id1/cs*, id0, osc1, opoff, im, exm, test pins: kst7 to kst0, irq* led2 to led0, port2 to port0 pmos nmos v cc gnd pins: kin3 to kin0, reset* pin: sda (pull-up mos) nmos pmos v cc pmos v cc gnd pmos nmos v cc gnd nmos pmos v cc (pull-up mos) v cc v cc pmos nmos (tri-state output circuit) output data output enable gnd pmos im (input circuit) figure 51 i/o pin configurations 6. the test pin must be grounded and the id1 and id0, im, exm, and opoff pins must be grounded or connected to v cc . 7. corresponds to the high output for clock-synchronized serial interface.
hd66727 92 8. applies to resistor values (r com ) between power supply pins v cc , v1out, v4out, v5out and common signal pins (com1 to com32, coms1, and coms2), and resistor values (r seg ) between power supply pins v cc , v2out, v3out, v5out and segment signal pins (seg1 to seg60). 9. this excludes the current flowing through pull-up moss and output drive moss. 10. this excludes the current flowing through the input/output units. the input level must be fixed high or low because through current increases if the cmos input is left floating. 11. the following shows the relationship between the operation frequency (f osc ) and current consumption (i cc ) (figure 52). r-c oscillation fre q uencies: fosc ( khz ) 40 30 20 10 0 icc ( m a) v cc = 3v 0 50 100 150 200 250 display on (typ.) sleep mode (typ.) standby mode (typ.) 1/34 duty 1/26 duty 1/18 duty 1/10 duty 80 60 40 20 0 iee ( m a) v cc = 3v 3 4 5 6 7 8 9 10 11 lcd drive volta g es: vlcd ( v ) vref-vrefp short-circuited vref left disconnected vref-vrefm short-circuited vref = vrefp = vrefm short-circuited figure 52 relationship between the operation frequency and current consumption 12. each com and seg output voltage is within 0.15v of the lcd voltage (v cc , v1, v2, v3, v4, v5) when there is no load. 13. applies to the external clock input (figure 53). oscillator osc1 open osc2 t rcp t fcp t h t l 0.7v cc 0.5v cc 0.3v cc duty = t h +t l t h 100% x figure 53 external clock supply
hd66727 93 14. applies to the internal oscillator operations using oscillation resistor rf (figure 54). osc1 osc2 r f since the oscillation frequency varies depending on the osc1 and osc2 pin capacitance, the wiring length to these pins should be minimized. referential data 200 150 100 50 0 100 200 400 r f (k w ) f osc (khz) 160 160 300 500 600 700 800 v cc = 5 v (typ.) v cc = 3 v (typ.) figure 54 internal oscillation 15. booster characteristics test circuits are shown in figure 55. ( triple boosting ) gnd v cc 1 f 1 f vci c1 c2 v5out2 v5out3 1 f ( double boosting ) gnd v cc 1 f + 1 f vci c1 c2 v5out2 v5out3 + v ee + v ee + + figure 55 booster
hd66727 94 vup2 = v cc ?v5out2; vup3 = v cc ?v5out3 5.0 4.0 3.0 2.0 4 5 6 7 8 9 10 11 (i) relation between the obtained voltage and input voltage vci (v) vup2 (v) typ. vci = v cc , fcp =160 khz, ta = 25 c 5.0 4.0 3.0 2.0 6 7 8 9 10 11 12 13 14 15 typ. vci = v cc , fcp =160 khz, ta = 25 c vup3 (v) vci (v) vci = v cc = 4.5 v, rf = 180 k w , io = 0.1 ma (ii) relation between the obtained voltage and temperature double boosting triple boosting double boosting triple boosting ta ( c) vup2 (v) 100 60 20 0 ?0 ?0 7.5 8.0 8.5 9.0 9.5 typ. ta ( c) vup3 (v) 100 60 20 0 ?0 ?0 6.5 7.0 7.5 8.0 8.5 typ. (iii) relation between the obtained voltage and capacitance vci = v cc = 4.5 v, rf = 180 k w , io = 0.1 ma vci = v cc = 2.7 v, rf = 150 k w , io = 0.1 ma 1.5 1.0 0.5 6.0 6.5 7.0 7.5 8.0 min. typ. c ( m f) vup3 (v) double boosting triple boosting c ( m f) vup2 (v) 1.5 1.0 0.5 7.0 7.5 8.0 8.5 9.0 typ. referential data vci = v cc = 2.7 v, rf = 150 k w , io = 0.1 ma figure 55 booster (cont)
hd66727 95 vci = v cc = 4.5 v, rf = 180 k w , ta = 25 c vci = v cc = 2.7 v, rf = 150 k w , ta = 25 c 1.5 2.0 0.5 1.0 0.0 2.0 3.0 4.0 5.0 7.0 6.0 8.0 typ. vup3 (v) double boosting triple boosting vup2 (v) 1.5 1.0 2.0 0.5 0.0 7.0 6.0 7.5 6.5 8.0 8.5 9.0 i o (ma) i o (ma) typ. load circuits ac characteristics test load circuits data bus : sda test point 50 pf figure 56 load circuit
hd66727 96 timing characteristics clock-synchronized serial interface timing cs* scl sda t csu t sch vil t sisu t scr vih vil vih vil vih vil t ch vih vil vih vil t cwl t scf t sih vil t scyc valid data vih start : s end : p valid data figure 57 clock-synchronized serial interface input timing cs* scl sda t csu t sch vil t sod t scr vih vil vih vil vih vil t ch voh1 voh1 voh1 vol1 t cwl t scf vil t scyc output data vih start : s end : p output data vil vih t soh figure 58 clock-synchronized serial interface output timing
hd66727 97 i 2 c bus interface timing stop : p sda scl vil vih vil vih vil vil vih vih vih vil vih vil vih t bup t stah t sclh t scll t sf t sr t scl vih vil t sdah t stas t stops t sdas stop : p vih start :s restart : sr figure 59 i 2 c bus interface timing reset timing reset* vil vil t res figure 60 reset timing


▲Up To Search▲   

 
Price & Availability of HCD66727A03BP

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X